From 0771a3c0ae6591d8b65b7a7646d635040671aa0e Mon Sep 17 00:00:00 2001 From: Sivaiah Nallagatla Date: Mon, 8 Nov 2004 06:00:58 +0000 Subject: populate contact only afte we are sure that data is valid and we can 2004-11-04 Sivaiah Nallagatla * gui/contact-editor/e-contact-editor.c (save_contact) : populate contact only afte we are sure that data is valid and we can create that. Fixes #69079 svn path=/trunk/; revision=27858 --- addressbook/ChangeLog | 7 +++++++ addressbook/gui/contact-editor/e-contact-editor.c | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 1e29291c2f..1f5af9151f 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2004-11-04 Sivaiah Nallagatla + + * gui/contact-editor/e-contact-editor.c (save_contact) : + populate contact only afte we are sure that data is valid + and we can create that. + Fixes #69079 + 2004-11-07 Rodney Dawes * gui/contact-editor/e-contact-editor.c diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 715588cc1e..f87441a0f9 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -2734,7 +2734,6 @@ real_save_contact (EContactEditor *ce, gboolean should_close) static void save_contact (EContactEditor *ce, gboolean should_close) { - extract_all (ce); if (!ce->target_book) return; @@ -2745,7 +2744,7 @@ save_contact (EContactEditor *ce, gboolean should_close) if (e_error_run (GTK_WINDOW (ce->app), "addressbook:prompt-move", NULL) == GTK_RESPONSE_NO) return; } - + extract_all (ce); real_save_contact (ce, should_close); } -- cgit v1.2.3