aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2005-02-26 11:09:11 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2005-02-26 11:09:11 +0800
commitf21183f498a83acef583fec65dfa207a36bcc8cb (patch)
tree6ef538eeabd21f042924283648a888a4e1ebda9a /addressbook/gui
parent4a971f2e17b8befd5afc11b6f542a25d5dc15c72 (diff)
downloadgsoc2013-evolution-f21183f498a83acef583fec65dfa207a36bcc8cb.tar
gsoc2013-evolution-f21183f498a83acef583fec65dfa207a36bcc8cb.tar.gz
gsoc2013-evolution-f21183f498a83acef583fec65dfa207a36bcc8cb.tar.bz2
gsoc2013-evolution-f21183f498a83acef583fec65dfa207a36bcc8cb.tar.lz
gsoc2013-evolution-f21183f498a83acef583fec65dfa207a36bcc8cb.tar.xz
gsoc2013-evolution-f21183f498a83acef583fec65dfa207a36bcc8cb.tar.zst
gsoc2013-evolution-f21183f498a83acef583fec65dfa207a36bcc8cb.zip
Just close the editor when user presees cancel or closes the editor when
2005-02-25 Sivaiah Nallagatla <snallagatla@novell.com> * gui/conact-editor/eab-editor.c (eab_editor_prompt_to_save_changes) : Just close the editor when user presees cancel or closes the editor when there are no changes. Seems to be broken by earlier Change for #70371 Fixes #73005 svn path=/trunk/; revision=28892
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/contact-editor/eab-editor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/eab-editor.c b/addressbook/gui/contact-editor/eab-editor.c
index 278f8a4c3f..8f03352af0 100644
--- a/addressbook/gui/contact-editor/eab-editor.c
+++ b/addressbook/gui/contact-editor/eab-editor.c
@@ -258,8 +258,10 @@ eab_editor_get_window (EABEditor *editor)
gboolean
eab_editor_prompt_to_save_changes (EABEditor *editor, GtkWindow *window)
{
- if (!eab_editor_is_changed (editor))
+ if (!eab_editor_is_changed (editor)) {
+ eab_editor_close (EAB_EDITOR (editor));
return TRUE;
+ }
switch (eab_prompt_save_dialog (window)) {
case GTK_RESPONSE_YES: