changeset 23926:4a5c8feb83e6

Patch from "brookingcharlie" to make "Open All Messages" the default response in the mail popup. Fixes #6746
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 28 Aug 2008 00:54:37 +0000
parents fd0e8c6ffa4b
children 128f1d7e12ff
files pidgin/gtknotify.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtknotify.c	Thu Aug 28 00:43:05 2008 +0000
+++ b/pidgin/gtknotify.c	Thu Aug 28 00:54:37 2008 +0000
@@ -362,6 +362,10 @@
 		button = gtk_dialog_add_button(GTK_DIALOG(dialog),
 						 PIDGIN_STOCK_OPEN_MAIL, GTK_RESPONSE_YES);
 
+		/* make "Open All Messages" the default response */
+		gtk_dialog_set_default_response(GTK_DIALOG(dialog),
+						GTK_RESPONSE_ACCEPT);
+
 		/* Setup the dialog */
 		gtk_container_set_border_width(GTK_CONTAINER(dialog), PIDGIN_HIG_BOX_SPACE);
 		gtk_container_set_border_width(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), PIDGIN_HIG_BOX_SPACE);