diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 8 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 11 |
2 files changed, 18 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index b999a824b9..c044f24943 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,11 @@ +2003-03-13 Chris Toshok <toshok@ximian.com> + + * gui/contact-editor/e-contact-editor.c + (set_entry_changed_signals): use set_entry_changed_signal_email + for the email entry so the email gets saved out. + (set_entry_changed_signal_email): new function, analogous to + set_entry_changed_signal_phone, but for email. + 2003-03-12 Chris Toshok <toshok@ximian.com> [ fixes bug #20210 ] diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index d3b6301e11..51f417b63d 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -622,6 +622,15 @@ set_entry_changed_signal_phone(EContactEditor *editor, char *id) } static void +set_entry_changed_signal_email(EContactEditor *editor, char *id) +{ + GtkWidget *widget = glade_xml_get_widget(editor->gui, id); + if (widget && GTK_IS_ENTRY(widget)) + g_signal_connect(widget, "changed", + G_CALLBACK (email_entry_changed), editor); +} + +static void widget_changed (GtkWidget *widget, EContactEditor *editor) { if (!editor->editable) { @@ -664,7 +673,7 @@ set_entry_changed_signals(EContactEditor *editor) set_entry_changed_signal_phone(editor, "entry-phone3"); set_entry_changed_signal_phone(editor, "entry-phone4"); - set_entry_changed_signal_field(editor, "entry-email1"); + set_entry_changed_signal_email(editor, "entry-email1"); widget = glade_xml_get_widget(editor->gui, "text-address"); if (widget && GTK_IS_TEXT_VIEW(widget)) { |