AUDIT: r16939 - gnucash/trunk/src/gnome - Initialize keyboard focus in sx editor dialogs to name entries.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Feb 10 18:00:13 EST 2008


Author: andi5
Date: 2008-02-10 18:00:13 -0500 (Sun, 10 Feb 2008)
New Revision: 16939
Trac: http://svn.gnucash.org/trac/changeset/16939

Modified:
   gnucash/trunk/src/gnome/dialog-sx-editor.c
Log:
Initialize keyboard focus in sx editor dialogs to name entries.

BP


Modified: gnucash/trunk/src/gnome/dialog-sx-editor.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-editor.c	2008-02-10 22:26:50 UTC (rev 16938)
+++ gnucash/trunk/src/gnome/dialog-sx-editor.c	2008-02-10 23:00:13 UTC (rev 16939)
@@ -1223,6 +1223,9 @@
     gtk_widget_queue_resize( GTK_WIDGET( sxed->example_cal ) );
     gnc_ledger_display_refresh( sxed->ledger );
 
+    /* Move keyboard focus to the name entry */
+    gtk_widget_grab_focus(GTK_WIDGET(sxed->nameEntry));
+
     return sxed;
 }
 



More information about the gnucash-changes mailing list