aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Zhang <leonz@src.gnome.org>2004-02-19 15:23:02 +0800
committerLeon Zhang <leonz@src.gnome.org>2004-02-19 15:23:02 +0800
commit8b86c88624f926a7122ab4dd39ebd26d0e839ab2 (patch)
tree4d73c1c6929cda1538492542398484979b41134e
parent90b2bfbf8ce3e8e5fdccf3457d9042226306694a (diff)
downloadgsoc2013-evolution-8b86c88624f926a7122ab4dd39ebd26d0e839ab2.tar
gsoc2013-evolution-8b86c88624f926a7122ab4dd39ebd26d0e839ab2.tar.gz
gsoc2013-evolution-8b86c88624f926a7122ab4dd39ebd26d0e839ab2.tar.bz2
gsoc2013-evolution-8b86c88624f926a7122ab4dd39ebd26d0e839ab2.tar.lz
gsoc2013-evolution-8b86c88624f926a7122ab4dd39ebd26d0e839ab2.tar.xz
gsoc2013-evolution-8b86c88624f926a7122ab4dd39ebd26d0e839ab2.tar.zst
gsoc2013-evolution-8b86c88624f926a7122ab4dd39ebd26d0e839ab2.zip
provide ESC support for delete dialog of contact editor, fix bug 52765
patch by hao.sheng@sun.com svn path=/trunk/; revision=24793
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index eb4b3ef237..71f20a54fc 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,11 @@
+2004-02-18 Hao Sheng <hao.sheng@sun.com>
+
+ [ fixes bug #52765 ]
+
+ * gui/contact-editor/e-contact-editor.c
+ (e_contact_editor_confirm_delete): make delete dialog support
+ ESC press.
+
2004-02-17 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.h (struct
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 07e5ffd30e..8474e661e5 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -1737,7 +1737,7 @@ e_contact_editor_confirm_delete (GtkWindow *parent)
"to delete this contact?"));
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
- GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_DELETE, GTK_RESPONSE_ACCEPT,
NULL);