[Xfce4-commits] <xfce4-panel:devel> Give the windowmenu button a name for theming.
Nick Schermer
noreply at xfce.org
Mon Feb 15 15:34:03 CET 2010
Updating branch refs/heads/devel
to 98a93036b4ce4a23020c3d357e17218a016b5dc4 (commit)
from f055bdbfb5eb0b8bd00787a3d844c36f1cee88b0 (commit)
commit 98a93036b4ce4a23020c3d357e17218a016b5dc4
Author: Nick Schermer <nick at xfce.org>
Date: Mon Feb 15 12:52:15 2010 +0100
Give the windowmenu button a name for theming.
plugins/windowmenu/windowmenu.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c
index d798705..e9673ea 100644
--- a/plugins/windowmenu/windowmenu.c
+++ b/plugins/windowmenu/windowmenu.c
@@ -249,6 +249,7 @@ window_menu_plugin_init (WindowMenuPlugin *plugin)
xfce_panel_plugin_add_action_widget (XFCE_PANEL_PLUGIN (plugin), plugin->button);
gtk_container_add (GTK_CONTAINER (plugin), plugin->button);
gtk_button_set_relief (GTK_BUTTON (plugin->button), GTK_RELIEF_NONE);
+ gtk_widget_set_name (plugin->button, "windowmenu-button");
g_signal_connect (G_OBJECT (plugin->button), "button-press-event",
G_CALLBACK (window_menu_plugin_button_press_event), plugin);
More information about the Xfce4-commits
mailing list