changeset 4117:8f0d509a7ebb

[gaim-migrate @ 4334] (12:25:14) ari: http://stuff.ebnj.net/warn-diff.txt - patch which makes the warn dialog default to cancel, so someone isn't accidentally warned committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 23 Dec 2002 17:26:11 +0000
parents 7ddf1d46331c
children 02b415cbba3a
files src/dialogs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Mon Dec 23 15:19:36 2002 +0000
+++ b/src/dialogs.c	Mon Dec 23 17:26:11 2002 +0000
@@ -393,7 +393,7 @@
 	gtk_misc_set_alignment(GTK_MISC(img), 0, 0);
 
 	w->window = gtk_dialog_new_with_buttons("", GTK_WINDOW(c->window), GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, "_Warn", GTK_RESPONSE_OK, NULL);
-	gtk_dialog_set_default_response (GTK_DIALOG(w->window), GTK_RESPONSE_OK);
+	gtk_dialog_set_default_response (GTK_DIALOG(w->window), GTK_RESPONSE_CANCEL);
 	g_signal_connect(G_OBJECT(w->window), "response", G_CALLBACK(do_warn), w);
 
 	gtk_container_set_border_width (GTK_CONTAINER(w->window), 6);