aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog3
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 4aede6ab15..33f9f46804 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,8 @@
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.
+
* gui/component/addressbook.c (addressbook_factory_new_control):
(addressbook_query_changed): Fixed two const warnings here.
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",