[gnome-online-accounts] Add mnemonic underlines to the labels of the switches



commit 8c6a2b5b49ed868e395f61b7db7709fa352f69dd
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Oct 1 11:48:31 2012 +0200

    Add mnemonic underlines to the labels of the switches
    
    The tie between Contacts and Calendar was broken by the precedent set
    by Evolution.
    
    Fixes: https://bugzilla.gnome.org/683911

 src/goabackend/goaexchangeprovider.c    |    6 +++---
 src/goabackend/goafacebookprovider.c    |    2 +-
 src/goabackend/goagoogleprovider.c      |   10 +++++-----
 src/goabackend/goakerberosprovider.c    |    2 +-
 src/goabackend/goaprovider.c            |    2 +-
 src/goabackend/goawindowsliveprovider.c |    4 ++--
 6 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/goabackend/goaexchangeprovider.c b/src/goabackend/goaexchangeprovider.c
index 7429ee9..a51601c 100644
--- a/src/goabackend/goaexchangeprovider.c
+++ b/src/goabackend/goaexchangeprovider.c
@@ -845,17 +845,17 @@ show_account (GoaProvider         *provider,
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    _("Use for"),
                                                    "mail-disabled",
-                                                   _("Mail"));
+                                                   _("_Mail"));
 
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    NULL,
                                                    "calendar-disabled",
-                                                   _("Calendar"));
+                                                   _("Cale_ndar"));
 
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    NULL,
                                                    "contacts-disabled",
-                                                   _("Contacts"));
+                                                   _("_Contacts"));
 }
 
 /* ---------------------------------------------------------------------------------------------------- */
diff --git a/src/goabackend/goafacebookprovider.c b/src/goabackend/goafacebookprovider.c
index fbb7510..e01109b 100644
--- a/src/goabackend/goafacebookprovider.c
+++ b/src/goabackend/goafacebookprovider.c
@@ -360,7 +360,7 @@ show_account (GoaProvider         *provider,
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    _("Use for"),
                                                    "chat-disabled",
-                                                   _("Chat"));
+                                                   _("C_hat"));
 }
 
 /* ---------------------------------------------------------------------------------------------------- */
diff --git a/src/goabackend/goagoogleprovider.c b/src/goabackend/goagoogleprovider.c
index 4d707b7..277fed5 100644
--- a/src/goabackend/goagoogleprovider.c
+++ b/src/goabackend/goagoogleprovider.c
@@ -470,27 +470,27 @@ show_account (GoaProvider         *provider,
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    _("Use for"),
                                                    "mail-disabled",
-                                                   _("Mail"));
+                                                   _("_Mail"));
 
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    NULL,
                                                    "calendar-disabled",
-                                                   _("Calendar"));
+                                                   _("Cale_ndar"));
 
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    NULL,
                                                    "contacts-disabled",
-                                                   _("Contacts"));
+                                                   _("_Contacts"));
 
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    NULL,
                                                    "chat-disabled",
-                                                   _("Chat"));
+                                                   _("C_hat"));
 
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    NULL,
                                                    "documents-disabled",
-                                                   _("Documents"));
+                                                   _("_Documents"));
 }
 
 /* ---------------------------------------------------------------------------------------------------- */
diff --git a/src/goabackend/goakerberosprovider.c b/src/goabackend/goakerberosprovider.c
index b45311b..67639ca 100644
--- a/src/goabackend/goakerberosprovider.c
+++ b/src/goabackend/goakerberosprovider.c
@@ -1474,7 +1474,7 @@ show_account (GoaProvider *provider,
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    _("Use for"),
                                                    "ticketing-disabled",
-                                                   _("Network Resources"));
+                                                   _("Network _Resources"));
 }
 
 static void
diff --git a/src/goabackend/goaprovider.c b/src/goabackend/goaprovider.c
index f99180b..5ad8918 100644
--- a/src/goabackend/goaprovider.c
+++ b/src/goabackend/goaprovider.c
@@ -1016,7 +1016,7 @@ goa_util_add_row_switch_from_keyfile_with_blurb (GtkGrid      *left,
     {
       GtkWidget *label;
 
-      label = gtk_label_new (blurb);
+      label = gtk_label_new_with_mnemonic (blurb);
       gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
       gtk_label_set_mnemonic_widget (GTK_LABEL (label), switch_);
       gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
diff --git a/src/goabackend/goawindowsliveprovider.c b/src/goabackend/goawindowsliveprovider.c
index fd7bf30..7e27cfa 100644
--- a/src/goabackend/goawindowsliveprovider.c
+++ b/src/goabackend/goawindowsliveprovider.c
@@ -369,12 +369,12 @@ show_account (GoaProvider         *provider,
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    _("Use for"),
                                                    "chat-disabled",
-                                                   _("Chat"));
+                                                   _("C_hat"));
 
   goa_util_add_row_switch_from_keyfile_with_blurb (left, right, object,
                                                    NULL,
                                                    "documents-disabled",
-                                                   _("Documents"));
+                                                   _("_Documents"));
 }
 
 /* ---------------------------------------------------------------------------------------------------- */



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