[gnome-control-center] Fix a11y/keynav issues in the printer panel



commit f9c8d63585659b795b481a5fa9feae1848921ee5
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 15 21:09:11 2011 -0400

    Fix a11y/keynav issues in the printer panel
    
    This adds some missing mnemonics.

 panels/printers/new-printer-dialog.ui |   13 +++++++++----
 panels/printers/printers.ui           |   18 ++++++++++++------
 2 files changed, 21 insertions(+), 10 deletions(-)
---
diff --git a/panels/printers/new-printer-dialog.ui b/panels/printers/new-printer-dialog.ui
index 3fdbe4c..98aa948 100644
--- a/panels/printers/new-printer-dialog.ui
+++ b/panels/printers/new-printer-dialog.ui
@@ -106,7 +106,9 @@
                             <child>
                               <object class="GtkLabel" id="label5">
                                 <property name="visible">True</property>
-                                <property name="label" translatable="yes">Address</property>
+                                <property name="label" translatable="yes">A_ddress</property>
+                                <property name="use_underline">True</property>
+                                <property name="mnemonic_widget">address-entry</property>
                               </object>
                               <packing>
                                 <property name="position">0</property>
@@ -133,7 +135,8 @@
                             <property name="visible">True</property>
                             <child>
                               <object class="GtkCheckButton" id="search-by-address-checkbutton">
-                                <property name="label" translatable="yes">Search by Address</property>
+                                <property name="label" translatable="yes">_Search by Address</property>
+                                <property name="use_underline">True</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="receives_default">False</property>
@@ -235,7 +238,8 @@
             </child>
             <child>
               <object class="GtkButton" id="new-printer-cancel-button">
-                <property name="label" translatable="yes">Cancel</property>
+                <property name="label" translatable="yes">_Cancel</property>
+                <property name="use_underline">True</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
@@ -246,7 +250,8 @@
             </child>
             <child>
               <object class="GtkButton" id="new-printer-add-button">
-                <property name="label" translatable="yes">Add</property>
+                <property name="label" translatable="yes">_Add</property>
+                <property name="use_underline">True</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
diff --git a/panels/printers/printers.ui b/panels/printers/printers.ui
index 4009ef4..f22a87e 100644
--- a/panels/printers/printers.ui
+++ b/panels/printers/printers.ui
@@ -180,7 +180,8 @@
                         <child>
                           <object class="GtkLabel" id="label8">
                             <property name="visible">True</property>
-                            <property name="label" translatable="yes" comments="Translators: This checkbox is checked when the default printer is selected.">Default</property>
+                            <property name="label" translatable="yes" comments="Translators: This checkbox is checked when the default printer is selected.">_Default</property>
+                            <property name="use_underline">True</property>
                             <attributes>
                               <attribute name="style" value="normal"/>
                             </attributes>
@@ -237,10 +238,11 @@
                     </child>
                     <child>
                       <object class="GtkButton" id="printer-jobs-button">
-                        <property name="label" translatable="yes" comments="Tanslators: Switch to tab containing printer's jobs">Show</property>
+                        <property name="label" translatable="yes" comments="Tanslators: Switch to tab containing printer's jobs">_Show</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>
+                        <property name="use_underline">True</property>
                         <property name="halign">GTK_ALIGN_END</property>
                         <property name="valign">GTK_ALIGN_CENTER</property>
                       </object>
@@ -398,7 +400,8 @@
                     <property name="homogeneous">True</property>
                     <child>
                       <object class="GtkButton" id="print-test-page-button">
-                        <property name="label" translatable="yes" comments="Translators: This button executes command which prints test page.">Print Test Page</property>
+                        <property name="label" translatable="yes" comments="Translators: This button executes command which prints test page.">Print _Test Page</property>
+                        <property name="use_underline">True</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>
@@ -411,8 +414,9 @@
                     </child>
                     <child>
                       <object class="GtkButton" id="printer-options-button">
-                        <property name="label" translatable="yes" comments="Translators: This button opens printer's options tab">Options</property>
+                        <property name="label" translatable="yes" comments="Translators: This button opens printer's options tab">_Options</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>
@@ -454,7 +458,8 @@
                     <property name="n_columns">3</property>
                     <child>
                       <object class="GtkButton" id="back-button-1">
-                        <property name="label" translatable="yes" comments="Translators: Switch back to printer's info tab">Back</property>
+                        <property name="label" translatable="yes" comments="Translators: Switch back to printer's info tab">_Back</property>
+                        <property name="use_underline">True</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>
@@ -602,7 +607,8 @@
                     <property name="n_columns">3</property>
                     <child>
                       <object class="GtkButton" id="back-button-2">
-                        <property name="label" translatable="yes" comments="Translators: Switch back to printer's info tab">Back</property>
+                        <property name="label" translatable="yes" comments="Translators: Switch back to printer's info tab">_Back</property>
+                        <property name="use_underline">True</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>



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