Set the XMPP Console's toolbar buttons to be 'important', or else they

Sun, 23 Oct 2011 23:50:19 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sun, 23 Oct 2011 23:50:19 +0000
changeset 32694
4a2399bc6148
parent 32693
f29b2ead0d6d
child 32695
f86582a6bc5b
child 32696
aa0cf6cce43a

Set the XMPP Console's toolbar buttons to be 'important', or else they
won't show their text on recent GTK+ versions.

pidgin/plugins/xmppconsole.c file | annotate | diff | comparison | revisions
--- a/pidgin/plugins/xmppconsole.c	Sat Oct 22 22:02:31 2011 +0000
+++ b/pidgin/plugins/xmppconsole.c	Sun Oct 23 23:50:19 2011 +0000
@@ -793,14 +793,17 @@
 
 	toolbar = gtk_toolbar_new();
 	button = gtk_tool_button_new(NULL, "<iq/>");
+	gtk_tool_item_set_is_important(button, TRUE);
 	g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(iq_clicked_cb), NULL);
 	gtk_container_add(GTK_CONTAINER(toolbar), GTK_WIDGET(button));
 
 	button = gtk_tool_button_new(NULL, "<presence/>");
+	gtk_tool_item_set_is_important(button, TRUE);
 	g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(presence_clicked_cb), NULL);
 	gtk_container_add(GTK_CONTAINER(toolbar), GTK_WIDGET(button));
 
 	button = gtk_tool_button_new(NULL, "<message/>");
+	gtk_tool_item_set_is_important(button, TRUE);
 	g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(message_clicked_cb), NULL);
 	gtk_container_add(GTK_CONTAINER(toolbar), GTK_WIDGET(button));
 

mercurial