[gtk/gtk-3-24: 4/5] GtkFileChooserDialog: give a accessible name the GtkFileChooserWidget
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 4/5] GtkFileChooserDialog: give a accessible name the GtkFileChooserWidget
- Date: Tue, 25 May 2021 12:57:13 +0000 (UTC)
commit 50889d762997938761d7a6ca79c6974b5fff2b4e
Author: Yann Dirson <ydirson free fr>
Date: Sat Oct 31 12:20:33 2020 +0100
GtkFileChooserDialog: give a accessible name the GtkFileChooserWidget
Using pyatspi.utils.findDescendant() on the GtkFileChooserDialog using
just a role would return the Dialog, as they have the same "file
chooser" role. So we have to give it a name to distinguish between
them.
gtk/ui/gtkfilechooserdialog.ui | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/gtk/ui/gtkfilechooserdialog.ui b/gtk/ui/gtkfilechooserdialog.ui
index 9315717e79..a3b1d6491b 100644
--- a/gtk/ui/gtkfilechooserdialog.ui
+++ b/gtk/ui/gtkfilechooserdialog.ui
@@ -27,6 +27,11 @@
<signal name="file-activated" handler="file_chooser_widget_file_activated" swapped="no"/>
<signal name="response-requested" handler="file_chooser_widget_response_requested" swapped="no"/>
<signal name="selection-changed" handler="file_chooser_widget_selection_changed" swapped="no"/>
+ <child internal-child="accessible">
+ <object class="AtkObject">
+ <property name="AtkObject::accessible-name" translatable="yes">File Chooser Widget</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]