[Xfce4-commits] <exo:master> Add mnemonics to tab labels (bug #8972).

Jérôme Guelfucci noreply at xfce.org
Sun Aug 5 23:18:02 CEST 2012


Updating branch refs/heads/master
         to 5df76b03c776fd87b55962d0e444dcf9d43ab711 (commit)
       from 823db1341e200fa5ef6407b06d41058d978f03b1 (commit)

commit 5df76b03c776fd87b55962d0e444dcf9d43ab711
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Sun Aug 5 23:16:31 2012 +0200

    Add mnemonics to tab labels (bug #8972).

 exo-helper/exo-helper-chooser-dialog.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/exo-helper/exo-helper-chooser-dialog.c b/exo-helper/exo-helper-chooser-dialog.c
index 8387937..3bd0156 100644
--- a/exo-helper/exo-helper-chooser-dialog.c
+++ b/exo-helper/exo-helper-chooser-dialog.c
@@ -129,7 +129,7 @@ exo_helper_chooser_dialog_init (ExoHelperChooserDialog *chooser_dialog)
   /*
      Internet
    */
-  label = gtk_label_new (_("Internet"));
+  label = gtk_label_new_with_mnemonic (_("_Internet"));
   vbox = g_object_new (GTK_TYPE_VBOX, "border-width", 12, "spacing", 24, NULL);
   gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox, label);
   gtk_widget_show (label);
@@ -202,7 +202,7 @@ exo_helper_chooser_dialog_init (ExoHelperChooserDialog *chooser_dialog)
   /*
      Utilities
    */
-  label = gtk_label_new (_("Utilities"));
+  label = gtk_label_new_with_mnemonic (_("_Utilities"));
   vbox = g_object_new (GTK_TYPE_VBOX, "border-width", 12, "spacing", 24, NULL);
   gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox, label);
   gtk_widget_show (label);


More information about the Xfce4-commits mailing list