pidgin: daa6df6f: Ensure labelled buttons are shown for se...

qulogic at pidgin.im qulogic at pidgin.im
Thu Dec 22 04:42:07 EST 2011


----------------------------------------------------------------------
Revision: daa6df6fc313e78e3483e3f7a8b5a6495e2e019d
Parent:   62ed11bd6251d076f4987ee411c96b8e28472817
Author:   hyc at symas.com
Date:     12/22/11 00:47:25
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/daa6df6fc313e78e3483e3f7a8b5a6495e2e019d

Changelog: 

Ensure labelled buttons are shown for search results in Pidgin.

Fixes #14821.

Changes against parent 62ed11bd6251d076f4987ee411c96b8e28472817

  patched  pidgin/gtknotify.c

-------------- next part --------------
============================================================
--- pidgin/gtknotify.c	d0865086087c64dfddea68afcdb210d745841621
+++ pidgin/gtknotify.c	35fc7bf4442310ebef1029249873acc485eb852e
@@ -1031,7 +1031,7 @@ pidgin_notify_searchresults(PurpleConnec
 		switch (b->type) {
 			case PURPLE_NOTIFY_BUTTON_LABELED:
 				if(b->label) {
-					button = gtk_button_new_with_label(b->label);
+					button = gtk_dialog_add_button(GTK_DIALOG(window), b->label, GTK_RESPONSE_NONE);
 				} else {
 					purple_debug_warning("gtknotify", "Missing button label\n");
 				}


More information about the Commits mailing list