User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 The panel-plugin button for the xfce-menu is more then just a toggle-button. Therefore it should be themable as such. In order to do this the panel-plugin widget can be named. [code] gtk_widget_set_name(dmp, "xfdesktop-panel-plugin"); [/code] Reproducible: Always Steps to Reproduce: Index: panel-plugin/desktop-menu-plugin.c =================================================================== --- panel-plugin/desktop-menu-plugin.c (revision 20494) +++ panel-plugin/desktop-menu-plugin.c (working copy) @@ -894,6 +894,7 @@ dmp->tooltip = gtk_tooltips_new(); dmp->button = gtk_toggle_button_new(); + gtk_widget_set_name(plugin, "xfdesktop-panel-plugin"); gtk_button_set_relief(GTK_BUTTON(dmp->button), GTK_RELIEF_NONE); gtk_widget_show(dmp->button); gtk_tooltips_set_tip(dmp->tooltip, dmp->button, dmp->button_title, NULL);
Created attachment 479 sets the name for the panel-plugin. This patch sets the name for the xfce-menu panel-plugin to "xfdesktop-panel-plugin". gtkrc-file can theme it individually by this name.
Done. Widget name is "xfce-menu-button".