pidgin: fe2be97f: Patch from "brookingcharlie" to make "Op...

datallah at pidgin.im datallah at pidgin.im
Wed Aug 27 21:00:38 EDT 2008


-----------------------------------------------------------------
Revision: fe2be97fe8086d0aff5a8d3fda13bbed8c8f0094
Ancestor: fe4da52ab77692f01273359f0b96a2c49d76fa99
Author: datallah at pidgin.im
Date: 2008-08-28T00:54:37
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/fe2be97fe8086d0aff5a8d3fda13bbed8c8f0094

Modified files:
        pidgin/gtknotify.c

ChangeLog: 

Patch from "brookingcharlie" to make "Open All Messages" the default response
in the mail popup.
Fixes #6746

-------------- next part --------------
============================================================
--- pidgin/gtknotify.c	ef6034fc72af40acc57b82157ec92068f75837a5
+++ pidgin/gtknotify.c	4b922300be24a11b916038109b6ba3c82bd5b47a
@@ -362,6 +362,10 @@ pidgin_get_mail_dialog(void)
 		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);


More information about the Commits mailing list