! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Expanding GTK+ theming
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-menu-plugin
Component:
General

Comments

Description Stephan Arts editbugs 2006-03-20 10:18:51 CET
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);
Comment 1 Stephan Arts editbugs 2006-03-20 10:20:42 CET
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.
Comment 2 Brian J. Tarricone (not reading bugmail) 2006-04-05 21:31:09 CEST
Done.  Widget name is "xfce-menu-button".

Bug #1588

Reported by:
Stephan Arts
Reported on: 2006-03-20
Last modified on: 2009-07-15

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Version:
unspecified

Attachments

sets the name for the panel-plugin. (574 bytes, patch)
2006-03-20 10:20 CET , Stephan Arts
no flags

Additional information