mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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
This commit is contained in:
parent
fee33b0a2e
commit
0cd8539819
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user