aboutsummaryrefslogtreecommitdiffstats
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
parent4625d183b1f04d4662cb34a65458786e6a4df5d1 (diff)
downloadgsoc2013-evolution-0771a3c0ae6591d8b65b7a7646d635040671aa0e.tar
gsoc2013-evolution-0771a3c0ae6591d8b65b7a7646d635040671aa0e.tar.gz
gsoc2013-evolution-0771a3c0ae6591d8b65b7a7646d635040671aa0e.tar.bz2
gsoc2013-evolution-0771a3c0ae6591d8b65b7a7646d635040671aa0e.tar.lz
gsoc2013-evolution-0771a3c0ae6591d8b65b7a7646d635040671aa0e.tar.xz
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
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c3
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 <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
+
2004-11-07 Rodney Dawes <dobey@novell.com>
* 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);
}