aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog11
-rw-r--r--addressbook/gui/contact-editor/eab-editor.c4
2 files changed, 14 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index be29ce328f..f104dea64a 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,14 @@
+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
+
+
2005-02-24 Sushma Rai <rsushma@novell.com>
* gui/component/addressbook-config.c (addressbook_config_edit_source):
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: