pidgin: 29c3498e: Set the XMPP Console's toolbar buttons t...

qulogic at pidgin.im qulogic at pidgin.im
Sun Oct 23 19:55:47 EDT 2011


----------------------------------------------------------------------
Revision: 29c3498ec7838b3a57d07d6ee610768298218429
Parent:   d7be3dbdb2b42579f3c54cbebccd148bbb354107
Author:   qulogic at pidgin.im
Date:     10/23/11 19:50:19
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/29c3498ec7838b3a57d07d6ee610768298218429

Changelog: 

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

Changes against parent d7be3dbdb2b42579f3c54cbebccd148bbb354107

  patched  pidgin/plugins/xmppconsole.c

-------------- next part --------------
============================================================
--- pidgin/plugins/xmppconsole.c	40060ff6566b3b0a82c754ca90ca6b0402a95d00
+++ pidgin/plugins/xmppconsole.c	f16efd57c2ace50f0d4c98938444758d38773268
@@ -793,14 +793,17 @@ create_console(PurplePluginAction *actio
 
 	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));
 


More information about the Commits mailing list