aboutsummaryrefslogtreecommitdiff
path: root/src/addressbook.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-08 04:58:02 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-08 04:58:02 +0000
commit8f85197cc2c306abc3bceee155afddf34e59f643 (patch)
tree5c623f063f343a8cf447bd7ca9767e3752a990f8 /src/addressbook.c
parentffbe13af6a93a90c8fec6cf05f4f7110f1608fb2 (diff)
added G_ALERTCANCEL to AlertValue, and return it if cancelled.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@407 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/addressbook.c')
-rw-r--r--src/addressbook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/addressbook.c b/src/addressbook.c
index 6175abab..6b0964f6 100644
--- a/src/addressbook.c
+++ b/src/addressbook.c
@@ -1666,7 +1666,7 @@ static void addressbook_treenode_delete_cb(gpointer data, guint action,
obj->name );
aval = alertpanel( _("Delete"), message, _("Folder only"), _("Folder and Addresses"), GTK_STOCK_CANCEL );
g_free(message);
- if( aval == G_ALERTOTHER ) return;
+ if( aval != G_ALERTDEFAULT && aval != G_ALERTALTERNATE ) return;
}
else {
message = g_strdup_printf(_("Really delete `%s' ?"), obj->name);