From 0cd8539819e40dfbbef62c338f2e3a495f4805cf Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Mon, 16 Nov 2009 21:48:20 +0000 Subject: [PATCH] Bug #601861: Fix mis-captioning in button labels The keyboard shortcut hints in some dialogs are miscaptioned. This means that in a save request dialog, for example, the button caption "Save Transaction" spuriously reads "_Save Transaction" instead of "Save Transaction" with the "S" of "Save" being underlined to mark the proper key on the keyboard to press in order to invoke saving of the transaction. Seems like new gtk-version is stricter and adds mnemonics only if told so. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18419 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome-utils/dialog-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gnome-utils/dialog-utils.c b/src/gnome-utils/dialog-utils.c index ee35755dc6..e458e50f66 100644 --- a/src/gnome-utils/dialog-utils.c +++ b/src/gnome-utils/dialog-utils.c @@ -907,7 +907,7 @@ gnc_gtk_dialog_add_button (GtkWidget *dialog, const gchar *label, const gchar *s { GtkWidget *button; - button = gtk_button_new_with_label(label); + button = gtk_button_new_with_mnemonic(label); if (stock_id) { GtkWidget *image;