From 141634ed801e5095f12b870ee58cf48b4d47d0ec Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 14 Aug 2001 07:01:35 +0000 Subject: Grab focus here. Fixes Ximian bug #2265. 2001-08-14 Christopher James Lahey * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Grab focus here. Fixes Ximian bug #2265. svn path=/trunk/; revision=11995 --- addressbook/gui/contact-editor/e-contact-editor.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'addressbook/gui') 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", -- cgit v1.2.3