summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2011-12-22 05:47:25 +0000
committerHoward Chu <hyc@symas.com>2011-12-22 05:47:25 +0000
commit6d653862c778883012fa86a36c0d8e533917b299 (patch)
tree167cf8c8a5f7a8260e3c1ca25712a5eff9e2b6b2
parenta59460fdecf24e5ca9361db37aea02e0b989a62a (diff)
downloadpidgin-6d653862c778883012fa86a36c0d8e533917b299.tar.gz
Ensure labelled buttons are shown for search results in Pidgin.
Fixes #14821. committer: Elliott Sales de Andrade <qulogic@pidgin.im>
-rw-r--r--pidgin/gtknotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidgin/gtknotify.c b/pidgin/gtknotify.c
index 25dc2ac4ac..60d7dd8e1f 100644
--- a/pidgin/gtknotify.c
+++ b/pidgin/gtknotify.c
@@ -1044,7 +1044,7 @@ pidgin_notify_searchresults(PurpleConnection *gc, const char *title,
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");
}