aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2005-08-17 17:35:22 +0800
committerSushma Rai <rsushma@src.gnome.org>2005-08-17 17:35:22 +0800
commit4d1961b7f6ca997275bac01ee86b82426b6ca37f (patch)
tree0785f4305b6642d3c47d0755f63c63343a90dd84
parente00e8f790917f18a8a16e66e99c234b78d43ac65 (diff)
downloadgsoc2013-evolution-4d1961b7f6ca997275bac01ee86b82426b6ca37f.tar
gsoc2013-evolution-4d1961b7f6ca997275bac01ee86b82426b6ca37f.tar.gz
gsoc2013-evolution-4d1961b7f6ca997275bac01ee86b82426b6ca37f.tar.bz2
gsoc2013-evolution-4d1961b7f6ca997275bac01ee86b82426b6ca37f.tar.lz
gsoc2013-evolution-4d1961b7f6ca997275bac01ee86b82426b6ca37f.tar.xz
gsoc2013-evolution-4d1961b7f6ca997275bac01ee86b82426b6ca37f.tar.zst
gsoc2013-evolution-4d1961b7f6ca997275bac01ee86b82426b6ca37f.zip
Handling GTK_RESPONSE_DELETE_EVENT response.
svn path=/trunk/; revision=30144
-rw-r--r--addressbook/ChangeLog9
-rw-r--r--addressbook/gui/merging/eab-contact-merging.c3
2 files changed, 11 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 4458f0fbcf..793e291d73 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,4 +1,11 @@
-2005-08-08 Devashish Sharma <sdevashish@novell.com>
+2005-08-17 Devashish Sharma <sdevashish@novell.com>
+
+ * gui/merging/eab-contact-merging.c (response): If the Duplicate
+ Contact Detected Dialog is closed by clicking the cross on the dialog
+ window the contact-list-editor or contact-editor dialog become unusable
+ and cant be closed. Added a case for catching GTK_RESPONSE_DELETE_EVENT.
+
+2005-08-17 Devashish Sharma <sdevashish@novell.com>
* gui/merging/eab-contact-duplicate-detected.glade: In case of a
duplicate contact list if the list is big the Cancel and Add buttons of
diff --git a/addressbook/gui/merging/eab-contact-merging.c b/addressbook/gui/merging/eab-contact-merging.c
index a43c56043d..37f147eaa4 100644
--- a/addressbook/gui/merging/eab-contact-merging.c
+++ b/addressbook/gui/merging/eab-contact-merging.c
@@ -143,6 +143,9 @@ response (GtkWidget *dialog, int response, EContactMergingLookup *lookup)
case 1:
cancelit (lookup);
break;
+ case GTK_RESPONSE_DELETE_EVENT:
+ cancelit (lookup);
+ break;
}
}