Esc Key exits alertpanel
authorPaul Mangan <paul@claws-mail.org>
Tue, 4 May 2004 16:08:06 +0000 (16:08 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 4 May 2004 16:08:06 +0000 (16:08 +0000)
ChangeLog.claws
configure.ac
src/prefs_actions.c
src/prefs_template.c

index a6c2b7e..aa8e0b6 100644 (file)
@@ -1,3 +1,10 @@
+2004-05-04 [paul]      0.9.10claws53
+
+       * src/prefs_actions.c
+         src/prefs_template.c
+               'Esc' Key exits alertpanel
+               Patch submitted by Fabien Vantard <fzz@ifrance.com>
+
 2004-04-26 [christoph] 0.9.10claws52
 
        * src/gtk/about.c
index e46dec0..f8f1dd3 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=52
+EXTRA_VERSION=53
 
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
index e856e04..e85273a 100644 (file)
@@ -522,7 +522,7 @@ static void prefs_actions_delete_cb(GtkWidget *w, gpointer data)
 
        if (alertpanel(_("Delete action"),
                       _("Do you really want to delete this action?"),
-                      _("Yes"), _("No"), NULL) == G_ALERTALTERNATE)
+                      _("Yes"), _("No"), NULL) != G_ALERTDEFAULT)
                return;
 
        action = gtk_clist_get_row_data(clist, row);
index 6c5ea2d..64a7be2 100644 (file)
@@ -541,7 +541,7 @@ static void prefs_template_delete_cb(void)
 
        if (alertpanel(_("Delete template"),
                       _("Do you really want to delete this template?"),
-                      _("Yes"), _("No"), NULL) == G_ALERTALTERNATE)
+                      _("Yes"), _("No"), NULL) != G_ALERTDEFAULT)
                return;
 
        tmpl = gtk_clist_get_row_data(clist, row);