[gnome-control-center] user-accounts: Give mnemonic to labelled widgets



commit 04a8943cfdb6ec43db55c07749a9921d70e61b10
Author: Jiro Matsuzawa <jmatsuzawa gnome org>
Date:   Sat Sep 13 16:38:04 2014 +0900

    user-accounts: Give mnemonic to labelled widgets
    
    https://bugzilla.gnome.org/show_bug.cgi?id=736606

 panels/user-accounts/data/account-dialog.ui       |    6 ++++--
 panels/user-accounts/data/user-accounts-dialog.ui |    3 ++-
 panels/user-accounts/um-account-dialog.c          |    2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/panels/user-accounts/data/account-dialog.ui b/panels/user-accounts/data/account-dialog.ui
index b5fb044..235188a 100644
--- a/panels/user-accounts/data/account-dialog.ui
+++ b/panels/user-accounts/data/account-dialog.ui
@@ -188,12 +188,13 @@
                     <property name="orientation">vertical</property>
                     <child>
                       <object class="GtkRadioButton" id="local-password-login-radio">
-                        <property name="label" translatable="yes">Allow user to set a password when they 
next login</property>
+                        <property name="label" translatable="yes">Allow user to set a password when they 
next _login</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="active">True</property>
                         <property name="draw_indicator">True</property>
+                        <property name="use_underline">True</property>
                       </object>
                       <packing>
                         <property name="position">0</property>
@@ -201,13 +202,14 @@
                     </child>
                     <child>
                       <object class="GtkRadioButton" id="local-password-now-radio">
-                        <property name="label" translatable="yes">Set a password now</property>
+                        <property name="label" translatable="yes">Set a password _now</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="active">True</property>
                         <property name="draw_indicator">True</property>
                         <property name="group">local-password-login-radio</property>
+                        <property name="use_underline">True</property>
                       </object>
                       <packing>
                         <property name="position">1</property>
diff --git a/panels/user-accounts/data/user-accounts-dialog.ui 
b/panels/user-accounts/data/user-accounts-dialog.ui
index 8f86810..8328972 100644
--- a/panels/user-accounts/data/user-accounts-dialog.ui
+++ b/panels/user-accounts/data/user-accounts-dialog.ui
@@ -441,10 +441,11 @@
                             </child>
                             <child>
                               <object class="GtkButton" id="last-login-history-button">
-                                <property name="label" translatable="yes">History</property>
+                                <property name="label" translatable="yes">_History</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="receives_default">True</property>
+                                <property name="use_underline">True</property>
                               </object>
                               <packing>
                                 <property name="left_attach">1</property>
diff --git a/panels/user-accounts/um-account-dialog.c b/panels/user-accounts/um-account-dialog.c
index 003a430..ed23682 100644
--- a/panels/user-accounts/um-account-dialog.c
+++ b/panels/user-accounts/um-account-dialog.c
@@ -1473,7 +1473,7 @@ um_account_dialog_init (UmAccountDialog *self)
         gtk_widget_hide (widget);
         self->spinner = GTK_SPINNER (widget);
 
-        gtk_dialog_add_button (dialog, _("Cancel"), GTK_RESPONSE_CANCEL);
+        gtk_dialog_add_button (dialog, _("_Cancel"), GTK_RESPONSE_CANCEL);
         widget = gtk_dialog_add_button (dialog, _("_Add"), GTK_RESPONSE_OK);
         gtk_dialog_set_default_response (dialog, GTK_RESPONSE_OK);
         gtk_widget_grab_default (widget);


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