aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-08-14 15:01:35 +0800
committerChris Lahey <clahey@src.gnome.org>2001-08-14 15:01:35 +0800
commit141634ed801e5095f12b870ee58cf48b4d47d0ec (patch)
treed8b01adf3ddae1e2170f655bf7c5df3ca540cc06 /addressbook/gui
parent804a46b77ed71f98610e78cfff64e2b938e685a1 (diff)
downloadgsoc2013-evolution-141634ed801e5095f12b870ee58cf48b4d47d0ec.tar.gz
gsoc2013-evolution-141634ed801e5095f12b870ee58cf48b4d47d0ec.tar.zst
gsoc2013-evolution-141634ed801e5095f12b870ee58cf48b4d47d0ec.zip
Grab focus here. Fixes Ximian bug #2265.
2001-08-14 Christopher James Lahey <clahey@ximian.com> * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Grab focus here. Fixes Ximian bug #2265. svn path=/trunk/; revision=11995
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 1189759263..688140f46a 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -1225,6 +1225,10 @@ e_contact_editor_init (EContactEditor *e_contact_editor)
create_ui (e_contact_editor);
+ widget = glade_xml_get_widget(e_contact_editor->gui, "entry-fullname");
+ if (widget)
+ gtk_widget_grab_focus (widget);
+
/* Connect to the deletion of the dialog */
gtk_signal_connect (GTK_OBJECT (e_contact_editor->app), "delete_event",