aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-06-09 01:33:58 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-06-09 01:33:58 +0800
commit8df22b3bf1a5fe7388a61799236196f5ab62c256 (patch)
treed9c5cf03780414d1193dc4bc4b724ec4efcc30b8
parent227fab86efce103776af0364cbfd3f1959f9d269 (diff)
downloadgsoc2013-evolution-8df22b3bf1a5fe7388a61799236196f5ab62c256.tar.gz
gsoc2013-evolution-8df22b3bf1a5fe7388a61799236196f5ab62c256.tar.zst
gsoc2013-evolution-8df22b3bf1a5fe7388a61799236196f5ab62c256.zip
Doh, sync the card simple and extract the card info.
2000-06-08 Federico Mena Quintero <federico@helixcode.com> * contact-editor/e-contact-editor.c (save_card): Doh, sync the card simple and extract the card info. svn path=/trunk/; revision=3480
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/contact-editor/e-contact-editor.c3
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c3
3 files changed, 11 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 2d35d6f056..20dfe57960 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,10 @@
2000-06-08 Federico Mena Quintero <federico@helixcode.com>
+ * contact-editor/e-contact-editor.c (save_card): Doh, sync the
+ card simple and extract the card info.
+
+2000-06-08 Federico Mena Quintero <federico@helixcode.com>
+
* contact-editor/e-contact-editor.h (EContactEditor): Now this
derives from GtkObject. It follows the same strategy as the
EventEditor in the calendar.
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);