From 8df22b3bf1a5fe7388a61799236196f5ab62c256 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 8 Jun 2000 17:33:58 +0000 Subject: Doh, sync the card simple and extract the card info. 2000-06-08 Federico Mena Quintero * contact-editor/e-contact-editor.c (save_card): Doh, sync the card simple and extract the card info. svn path=/trunk/; revision=3480 --- addressbook/ChangeLog | 5 +++++ addressbook/contact-editor/e-contact-editor.c | 3 +++ addressbook/gui/contact-editor/e-contact-editor.c | 3 +++ 3 files changed, 11 insertions(+) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 2d35d6f056..20dfe57960 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2000-06-08 Federico Mena Quintero + + * contact-editor/e-contact-editor.c (save_card): Doh, sync the + card simple and extract the card info. + 2000-06-08 Federico Mena Quintero * contact-editor/e-contact-editor.h (EContactEditor): Now this diff --git a/addressbook/contact-editor/e-contact-editor.c b/addressbook/contact-editor/e-contact-editor.c index 00cf952d8e..b59d77e631 100644 --- a/addressbook/contact-editor/e-contact-editor.c +++ b/addressbook/contact-editor/e-contact-editor.c @@ -506,6 +506,9 @@ categories_clicked(GtkWidget *button, EContactEditor *editor) static void save_card (EContactEditor *ce) { + e_card_simple_sync_card (ce->simple); + extract_info (ce); + if (ce->is_new_card) gtk_signal_emit (GTK_OBJECT (ce), contact_editor_signals[ADD_CARD], ce->card); diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 00cf952d8e..b59d77e631 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -506,6 +506,9 @@ categories_clicked(GtkWidget *button, EContactEditor *editor) static void save_card (EContactEditor *ce) { + e_card_simple_sync_card (ce->simple); + extract_info (ce); + if (ce->is_new_card) gtk_signal_emit (GTK_OBJECT (ce), contact_editor_signals[ADD_CARD], ce->card); -- cgit