aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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
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')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/addressbook-config.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 968a80578c..6602cd9c1f 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2001-10-17 Chris Toshok <toshok@ximian.com>
+
* gui/component/select-names/e-select-names.c (new_folder): make
sure to also add "ldap-contacts" folders to the option menu.
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;
}