[gtk/gtk-3-24: 3/5] GtkFileChooserWidget: give accessible names to GtkStack children
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 3/5] GtkFileChooserWidget: give accessible names to GtkStack children
- Date: Tue, 25 May 2021 12:57:13 +0000 (UTC)
commit 9673b5a7492733dbd1cbdb16705e1d5e7752c36f
Author: Yann Dirson <ydirson free fr>
Date: Mon Oct 19 21:50:17 2020 +0200
GtkFileChooserWidget: give accessible names to GtkStack children
Now that an AT can request apparition of the Location field, this
allows to locate it in the a11y tree.
gtk/ui/gtkfilechooserwidget.ui | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui
index e06670e76c..6e7c21dcc9 100644
--- a/gtk/ui/gtkfilechooserwidget.ui
+++ b/gtk/ui/gtkfilechooserwidget.ui
@@ -70,6 +70,11 @@
<property name="visible">1</property>
<property name="spacing">6</property>
<property name="border-width">6</property>
+ <child internal-child="accessible">
+ <object class="AtkObject">
+ <property name="AtkObject::accessible-name" translatable="yes">PathBar
Layer</property>
+ </object>
+ </child>
<child>
<object class="GtkPathBar" id="browse_path_bar">
<property name="visible">True</property>
@@ -111,6 +116,11 @@
<property name="no-show-all">1</property>
<property name="spacing">6</property>
<property name="border-width">6</property>
+ <child internal-child="accessible">
+ <object class="AtkObject">
+ <property name="AtkObject::accessible-name" translatable="yes">Location
Layer</property>
+ </object>
+ </child>
</object>
<packing>
<property name="name">location</property>
@@ -122,6 +132,11 @@
<property name="no-show-all">1</property>
<property name="spacing">6</property>
<property name="border-width">6</property>
+ <child internal-child="accessible">
+ <object class="AtkObject">
+ <property name="AtkObject::accessible-name" translatable="yes">Search
Layer</property>
+ </object>
+ </child>
<child type="center">
<object class="GtkSearchEntry" id="search_entry">
<property name="visible">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]