[gnome-software] Add missing mnemonics and accessible names



commit 46b00a2f62a2ad1d4a5953e1d038ca523214b301
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 8 20:35:52 2014 -0500

    Add missing mnemonics and accessible names
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723921

 src/gnome-software.ui |   30 +++++++++++++++++++++---------
 1 files changed, 21 insertions(+), 9 deletions(-)
---
diff --git a/src/gnome-software.ui b/src/gnome-software.ui
index 1c1591c..bd8fcb5 100644
--- a/src/gnome-software.ui
+++ b/src/gnome-software.ui
@@ -268,7 +268,8 @@
             </child>
             <child>
               <object class="GtkButton" id="button_update_all">
-                <property name="label" translatable="yes">Restart &amp; Install</property>
+                <property name="use_underline">True</property>
+                <property name="label" translatable="yes">Restart &amp; _Install</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
                 <style>
@@ -282,7 +283,7 @@
             <child>
               <object class="GtkButton" id="button_install">
                 <property name="use_underline">True</property>
-                <property name="label" translatable="yes">Install</property>
+                <property name="label" translatable="yes">_Install</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
                 <style>
@@ -296,7 +297,7 @@
             <child>
               <object class="GtkButton" id="button_remove">
                 <property name="use_underline">True</property>
-                <property name="label" translatable="yes">Remove</property>
+                <property name="label" translatable="yes">_Remove</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
                 <style>
@@ -311,6 +312,11 @@
               <object class="GtkButton" id="button_select">
                 <property name="image">button_select_image</property>
                 <property name="can_focus">True</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="button-select-accessible">
+                    <property name="accessible-name" translatable="yes">Select</property>
+                  </object>
+                </child>
               </object>
               <packing>
                 <property name="pack_type">end</property>
@@ -320,6 +326,11 @@
               <object class="GtkButton" id="button_refresh">
                 <property name="image">button_refresh_image</property>
                 <property name="can_focus">True</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="button-refresh-accessible">
+                    <property name="accessible-name" translatable="yes">Check for updates</property>
+                  </object>
+                </child>
               </object>
               <packing>
                 <property name="pack_type">start</property>
@@ -433,7 +444,7 @@
                     <property name="shadow_type">none</property>
                     <child internal-child="accessible">
                       <object class="AtkObject" id="overview-accessible">
-                        <property name="accessible-name">Overview page</property>
+                        <property name="accessible-name" translatable="yes">Overview page</property>
                       </object>
                     </child>
                     <style>
@@ -638,7 +649,7 @@
                 <property name="visible">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="installed-accessible">
-                    <property name="accessible-name">Installed page</property>
+                    <property name="accessible-name" translatable="yes">Installed page</property>
                   </object>
                 </child>
                 <child>
@@ -733,7 +744,7 @@
                 <property name="visible">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="search-accessible">
-                    <property name="accessible-name">Search page</property>
+                    <property name="accessible-name" translatable="yes">Search page</property>
                   </object>
                 </child>
                 <child>
@@ -826,7 +837,7 @@
                 <property name="visible">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="updates-accessible">
-                    <property name="accessible-name">Updates page</property>
+                    <property name="accessible-name" translatable="yes">Updates page</property>
                   </object>
                 </child>
                 <child>
@@ -1098,7 +1109,7 @@
                 <property name="visible">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="details-accessible">
-                    <property name="accessible-name">Details page</property>
+                    <property name="accessible-name" translatable="yes">Details page</property>
                   </object>
                 </child>
                 <child>
@@ -2144,8 +2155,9 @@
             </child>
             <child>
               <object class="GtkButton" id="button_update_close">
-                <property name="label" translatable="yes" comments="Translators: Label for a button to close 
the update dialogue.">Done</property>
+                <property name="label" translatable="yes" comments="Translators: Label for a button to close 
the update dialogue.">_Done</property>
                 <property name="visible">True</property>
+                <property name="use_underline">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
               </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]