[gthumb] confirmation dialog: use the mnemonics in the buttons



commit 76d2d2663d464cb66db0954565d420a53169c161
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Nov 11 23:59:40 2013 +0100

    confirmation dialog: use the mnemonics in the buttons

 gthumb/gtk-utils.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gtk-utils.c b/gthumb/gtk-utils.c
index 361fb81..3c72055 100644
--- a/gthumb/gtk-utils.c
+++ b/gthumb/gtk-utils.c
@@ -164,7 +164,7 @@ _gtk_yesno_dialog_new (GtkWindow        *parent,
 
        /* Add buttons */
 
-       button = gtk_button_new_with_label (no_button_text);
+       button = gtk_button_new_with_mnemonic (no_button_text);
        gtk_widget_show (button);
        gtk_dialog_add_action_widget (GTK_DIALOG (d),
                                      button,
@@ -172,7 +172,7 @@ _gtk_yesno_dialog_new (GtkWindow        *parent,
 
        /**/
 
-       button = gtk_button_new_with_label (yes_button_text);
+       button = gtk_button_new_with_mnemonic (yes_button_text);
        gtk_widget_show (button);
        gtk_dialog_add_action_widget (GTK_DIALOG (d),
                                      button,


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