# HG changeset patch # User Luke Schierer # Date 1040664371 0 # Node ID 8f0d509a7ebb7eb6083470cfffb3a1605d5b957f # Parent 7ddf1d46331c0353f85b3a6830dde2427095483c [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 diff -r 7ddf1d46331c -r 8f0d509a7ebb src/dialogs.c --- 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);