tag 537108 patch
thanks

Howdy,

Here's a patch that fixes this problem by using
gtk_button_new_with_mnemonic to create the dialog buttons.  I audited
the callers of gnc_gtk_dialog_add_button to verify that this is OK.

-- 
Matt Kraai                                           http://ftbfs.org/
diff -ru gnucash-2.2.6~/src/gnome-utils/dialog-utils.c gnucash-2.2.6/src/gnome-utils/dialog-utils.c
--- gnucash-2.2.6~/src/gnome-utils/dialog-utils.c	2009-07-14 21:55:06.000000000 -0700
+++ gnucash-2.2.6/src/gnome-utils/dialog-utils.c	2009-07-14 21:55:34.000000000 -0700
@@ -907,7 +907,7 @@
 {
   GtkWidget *button;
 
-  button = gtk_button_new_with_label(label);
+  button = gtk_button_new_with_mnemonic(label);
   if (stock_id) {
     GtkWidget *image;
 

Reply via email to