Ensure labelled buttons are shown for search results in Pidgin. release-2.x.y

Thu, 22 Dec 2011 05:47:25 +0000

author
Howard Chu <hyc@symas.com>
date
Thu, 22 Dec 2011 05:47:25 +0000
branch
release-2.x.y
changeset 38789
ad3e9caa955b
parent 38787
726c37fbb361
child 38790
506eb507f450

Ensure labelled buttons are shown for search results in Pidgin.

Fixes #14821.


committer: Elliott Sales de Andrade <qulogic@pidgin.im>

pidgin/gtknotify.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtknotify.c	Sat Nov 25 14:25:03 2017 -0600
+++ b/pidgin/gtknotify.c	Thu Dec 22 05:47:25 2011 +0000
@@ -1044,7 +1044,7 @@
 		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");
 				}

mercurial