changeset 32402:5b1666b06b34

Ensure labelled buttons are shown for search results in Pidgin. Fixes #14821. committer: Elliott Sales de Andrade <qulogic@pidgin.im>
author hyc@symas.com
date Thu, 22 Dec 2011 05:47:25 +0000
parents f13cb8438ee8
children 35e2df7e41e7
files pidgin/gtknotify.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtknotify.c	Thu Dec 22 05:45:40 2011 +0000
+++ b/pidgin/gtknotify.c	Thu Dec 22 05:47:25 2011 +0000
@@ -1031,7 +1031,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");
 				}