aboutsummaryrefslogtreecommitdiff
path: root/src/alertpanel.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/alertpanel.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/alertpanel.c')
-rw-r--r--src/alertpanel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alertpanel.c b/src/alertpanel.c
index c24360d3..46d7dd5a 100644
--- a/src/alertpanel.c
+++ b/src/alertpanel.c
@@ -196,10 +196,10 @@ static void alertpanel_create(const gchar *title,
gtk_dialog_set_has_separator(GTK_DIALOG(dialog), FALSE);
g_signal_connect(G_OBJECT(dialog), "delete_event",
G_CALLBACK(alertpanel_deleted),
- (gpointer)G_ALERTOTHER);
+ (gpointer)G_ALERTCANCEL);
g_signal_connect(G_OBJECT(dialog), "key_press_event",
G_CALLBACK(alertpanel_close),
- (gpointer)G_ALERTOTHER);
+ (gpointer)G_ALERTCANCEL);
/* for title icon, label and message */
hbox = gtk_hbox_new(FALSE, 12);