Background: Improve a11y of inline toolbar

Give translatable labels to the add/remove buttons; while these
are not shown in the ui, orca reads them.
This commit is contained in:
Matthias Clasen 2011-05-15 23:52:13 -04:00
parent 67d52185a8
commit dc1773866b

View file

@ -82,7 +82,7 @@
<child> <child>
<object class="GtkToolButton" id="add_button"> <object class="GtkToolButton" id="add_button">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="label" translatable="yes">Add wallpaper</property>
<property name="use_action_appearance">False</property> <property name="use_action_appearance">False</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="icon_name">list-add-symbolic</property> <property name="icon_name">list-add-symbolic</property>
@ -95,7 +95,7 @@
<child> <child>
<object class="GtkToolButton" id="remove_button"> <object class="GtkToolButton" id="remove_button">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="label" translatable="yes">Remove wallpaper</property>
<property name="use_action_appearance">False</property> <property name="use_action_appearance">False</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="icon_name">list-remove-symbolic</property> <property name="icon_name">list-remove-symbolic</property>