# HG changeset patch # User Elliott Sales de Andrade # Date 1266648338 0 # Node ID 693e54b7d62bd394a081faf9f9c3992ac02c3a26 # Parent 10d336ea811ab239cb6886babdaac2298d46a1bf Set debug window tool items to be "important" so that they show text when set to "Both Icon and Text". diff -r 10d336ea811a -r 693e54b7d62b pidgin/gtkdebug.c --- a/pidgin/gtkdebug.c Sat Feb 20 06:41:25 2010 +0000 +++ b/pidgin/gtkdebug.c Sat Feb 20 06:45:38 2010 +0000 @@ -744,6 +744,7 @@ #ifndef HAVE_REGEX_H /* Find button */ item = gtk_tool_button_new_from_stock(GTK_STOCK_FIND); + gtk_tool_item_set_is_important(item, TRUE); #if GTK_CHECK_VERSION(2,12,0) gtk_tool_item_set_tooltip_text(item, _("Find")); #else @@ -755,6 +756,7 @@ /* Save */ item = gtk_tool_button_new_from_stock(GTK_STOCK_SAVE); + gtk_tool_item_set_is_important(item, TRUE); #if GTK_CHECK_VERSION(2,12,0) gtk_tool_item_set_tooltip_text(item, _("Save")); #else @@ -765,6 +767,7 @@ /* Clear button */ item = gtk_tool_button_new_from_stock(GTK_STOCK_CLEAR); + gtk_tool_item_set_is_important(item, TRUE); #if GTK_CHECK_VERSION(2,12,0) gtk_tool_item_set_tooltip_text(item, _("Clear")); #else @@ -778,6 +781,7 @@ /* Pause */ item = gtk_toggle_tool_button_new_from_stock(PIDGIN_STOCK_PAUSE); + gtk_tool_item_set_is_important(item, TRUE); #if GTK_CHECK_VERSION(2,12,0) gtk_tool_item_set_tooltip_text(item, _("Pause")); #else @@ -792,7 +796,9 @@ gtk_container_add(GTK_CONTAINER(toolbar), GTK_WIDGET(item)); /* regex toggle button */ - win->filter = GTK_WIDGET(gtk_toggle_tool_button_new_from_stock(GTK_STOCK_FIND)); + item = gtk_toggle_tool_button_new_from_stock(GTK_STOCK_FIND); + gtk_tool_item_set_is_important(item, TRUE); + win->filter = GTK_WIDGET(item); gtk_tool_button_set_label(GTK_TOOL_BUTTON(win->filter), _("Filter")); #if GTK_CHECK_VERSION(2,12,0) gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(win->filter), _("Filter"));