aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-10-18 05:22:54 +0800
committerChris Toshok <toshok@src.gnome.org>2001-10-18 05:22:54 +0800
commit720babfbfda3e1919804327d2ff546b48a32d5b3 (patch)
tree78fd51e8f4790e22f0af8c96ccfbf826578a4dc3 /addressbook/gui
parent3e7e7bb07b4f40adfdb76f4e63ff8e7108089ebd (diff)
downloadgsoc2013-evolution-720babfbfda3e1919804327d2ff546b48a32d5b3.tar.gz
gsoc2013-evolution-720babfbfda3e1919804327d2ff546b48a32d5b3.tar.zst
gsoc2013-evolution-720babfbfda3e1919804327d2ff546b48a32d5b3.zip
grab focus in the Account entry when preparing the dialog, fixes #10406.
2001-10-17 Chris Toshok <toshok@ximian.com> * 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
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-config.c4
1 files changed, 4 insertions, 0 deletions
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;
}