aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-11 05:17:12 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-11 05:17:12 +0800
commit9d775d14ebcd879002ad80ed43fc88d66c01ab01 (patch)
tree9c1cec24478bc18a0b7c5afe85ebe8ae92d99b7c /addressbook/gui/contact-editor
parentc57de49bb5d65df1fa0d63285b296397be3af6f8 (diff)
downloadgsoc2013-evolution-9d775d14ebcd879002ad80ed43fc88d66c01ab01.tar
gsoc2013-evolution-9d775d14ebcd879002ad80ed43fc88d66c01ab01.tar.gz
gsoc2013-evolution-9d775d14ebcd879002ad80ed43fc88d66c01ab01.tar.bz2
gsoc2013-evolution-9d775d14ebcd879002ad80ed43fc88d66c01ab01.tar.lz
gsoc2013-evolution-9d775d14ebcd879002ad80ed43fc88d66c01ab01.tar.xz
gsoc2013-evolution-9d775d14ebcd879002ad80ed43fc88d66c01ab01.tar.zst
gsoc2013-evolution-9d775d14ebcd879002ad80ed43fc88d66c01ab01.zip
Do e_card_simple_sync and extract_info more often.
2000-06-10 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c: Do e_card_simple_sync and extract_info more often. * gui/component/addressbook.c: Added table printing code. svn path=/trunk/; revision=3512
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 1b7bf6b202..17a6c52119 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -506,8 +506,8 @@ categories_clicked(GtkWidget *button, EContactEditor *editor)
static void
save_card (EContactEditor *ce)
{
- e_card_simple_sync_card (ce->simple);
extract_info (ce);
+ e_card_simple_sync_card (ce->simple);
if (ce->is_new_card)
gtk_signal_emit (GTK_OBJECT (ce), contact_editor_signals[ADD_CARD],
@@ -564,6 +564,10 @@ file_save_as_cb (GtkWidget *widget, gpointer data)
ECard *card;
ce = E_CONTACT_EDITOR (data);
+
+ extract_info (ce);
+ e_card_simple_sync_card (ce->simple);
+
card = ce->card;
e_contact_save_as("Save as VCard", card);
}