Mercurial > pidgin
changeset 32325:9bbbd4a7dcea
Set the XMPP Console's toolbar buttons to be 'important', or else they
won't show their text on recent GTK+ versions.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 23 Oct 2011 23:50:19 +0000 |
parents | 75e1758925bc |
children | 4f445c48581a fed510b05c32 |
files | pidgin/plugins/xmppconsole.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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));