Fixed ESC handling in the custom header delete confirmation.
authorSergey Vlasov <vsu@users.sourceforge.net>
Sun, 13 May 2001 14:38:02 +0000 (14:38 +0000)
committerSergey Vlasov <vsu@users.sourceforge.net>
Sun, 13 May 2001 14:38:02 +0000 (14:38 +0000)
ChangeLog.claws
src/prefs_customheader.c

index 6200088b93d8a86a2e917284791b490cff0072ae..0cb68bd9cb4642a7ddbaa530762483f06a444ffd 100644 (file)
@@ -3,6 +3,8 @@
        * src/main.c: include rfc2015.h to avoid compiler warnings.
        * src/alertpanel.c (alertpanel_message_with_disable): return 0 if
        the panel is already on screen.
+       * src/prefs_customheader.c (prefs_custom_header_delete_cb): treat
+       closing the alert window by ESC as "No".
 
 2001-03-13 [alfons]
 
index 029b345b162b05cfffb6bb37472390535251fe0d..15fa6111213d5755b54bbe9ef545eb8dbfeb3838 100644 (file)
@@ -540,7 +540,7 @@ static void prefs_custom_header_delete_cb(void)
 
        if (alertpanel(_("Delete header"),
                       _("Do you really want to delete this header?"),
-                      _("Yes"), _("No"), NULL) == G_ALERTALTERNATE)
+                      _("Yes"), _("No"), NULL) != G_ALERTDEFAULT)
                return;
 
        ch = gtk_clist_get_row_data(clist, row);