aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2004-11-08 14:00:58 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2004-11-08 14:00:58 +0800
commit0771a3c0ae6591d8b65b7a7646d635040671aa0e (patch)
treef7fc781349ccc6bb82ceafc7a7a5253df92b94db /addressbook/gui
parent4625d183b1f04d4662cb34a65458786e6a4df5d1 (diff)
downloadgsoc2013-evolution-0771a3c0ae6591d8b65b7a7646d635040671aa0e.tar.gz
gsoc2013-evolution-0771a3c0ae6591d8b65b7a7646d635040671aa0e.tar.zst
gsoc2013-evolution-0771a3c0ae6591d8b65b7a7646d635040671aa0e.zip
populate contact only afte we are sure that data is valid and we can
2004-11-04 Sivaiah Nallagatla <snallagatla@novell.com> * 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
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c3
1 files changed, 1 insertions, 2 deletions
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);
}