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.
This commit is contained in:
parent
9673b5a749
commit
50889d7629
@ -27,6 +27,11 @@
|
|||||||
<signal name="file-activated" handler="file_chooser_widget_file_activated" swapped="no"/>
|
<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="response-requested" handler="file_chooser_widget_response_requested" swapped="no"/>
|
||||||
<signal name="selection-changed" handler="file_chooser_widget_selection_changed" 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>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">1</property>
|
<property name="expand">1</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user