From 720babfbfda3e1919804327d2ff546b48a32d5b3 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 17 Oct 2001 21:22:54 +0000 Subject: grab focus in the Account entry when preparing the dialog, fixes #10406. 2001-10-17 Chris Toshok * gui/component/addressbook-config.c (addressbook_source_dialog): grab focus in the Account entry when preparing the dialog, fixes #10406. svn path=/trunk/; revision=13734 --- addressbook/gui/component/addressbook-config.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'addressbook/gui/component') diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index e72d803fd5..d21ec43d14 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -247,6 +247,10 @@ addressbook_source_dialog (GladeXML *gui, AddressbookSource *source, GtkWidget * GTK_SIGNAL_FUNC (addressbook_source_dialog_ok_clicked), dialog); + /* and set focus to be the Account field (the first editable + field on the first page) */ + gtk_widget_grab_focus (dialog->name); + return dialog; } -- cgit v1.2.3