[Xfce4-commits] <xfce4-panel:devel> Give the directorymenu button a name for theming.

Nick Schermer noreply at xfce.org
Mon Feb 15 15:34:04 CET 2010


Updating branch refs/heads/devel
         to 73cfde852e5e8dc4053e1bdb10fd637f7b3d0d3b (commit)
       from 98a93036b4ce4a23020c3d357e17218a016b5dc4 (commit)

commit 73cfde852e5e8dc4053e1bdb10fd637f7b3d0d3b
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Feb 15 12:53:54 2010 +0100

    Give the directorymenu button a name for theming.

 plugins/directorymenu/directorymenu.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/plugins/directorymenu/directorymenu.c b/plugins/directorymenu/directorymenu.c
index 8b065fb..af088ce 100644
--- a/plugins/directorymenu/directorymenu.c
+++ b/plugins/directorymenu/directorymenu.c
@@ -158,6 +158,7 @@ directory_menu_plugin_init (DirectoryMenuPlugin *plugin)
   plugin->button = xfce_panel_create_toggle_button ();
   xfce_panel_plugin_add_action_widget (XFCE_PANEL_PLUGIN (plugin), plugin->button);
   gtk_container_add (GTK_CONTAINER (plugin), plugin->button);
+  gtk_widget_set_name (plugin->button, "directorymenu-button");
   gtk_button_set_relief (GTK_BUTTON (plugin->button), GTK_RELIEF_NONE);
   g_signal_connect (G_OBJECT (plugin->button), "toggled",
       G_CALLBACK (directory_menu_plugin_menu), plugin);



More information about the Xfce4-commits mailing list