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/ChangeLog | 6 ++++++ addressbook/gui/component/addressbook-config.c | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 968a80578c..6602cd9c1f 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +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. + 2001-10-17 Chris Toshok * gui/component/select-names/e-select-names.c (new_folder): make 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