[Xfce4-commits] <xfce4-panel:devel> Give the launcher widget names for theming.

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


Updating branch refs/heads/devel
         to f055bdbfb5eb0b8bd00787a3d844c36f1cee88b0 (commit)
       from f91ba7116f4a631c3e256f61b4d8dce94ebd29ff (commit)

commit f055bdbfb5eb0b8bd00787a3d844c36f1cee88b0
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Feb 15 12:51:15 2010 +0100

    Give the launcher widget names for theming.

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

diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index 232428d..c64efcc 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -357,6 +357,7 @@ launcher_plugin_init (LauncherPlugin *plugin)
   gtk_box_pack_start (GTK_BOX (plugin->box), plugin->button, TRUE, TRUE, 0);
   xfce_panel_plugin_add_action_widget (XFCE_PANEL_PLUGIN (plugin), plugin->button);
   gtk_widget_set_has_tooltip (plugin->button, TRUE);
+  gtk_widget_set_name (plugin->button, "launcher-button");
   gtk_drag_dest_set (plugin->button, GTK_DEST_DEFAULT_MOTION | GTK_DEST_DEFAULT_DROP,
                      drop_targets, G_N_ELEMENTS (drop_targets), GDK_ACTION_COPY);
   g_signal_connect (G_OBJECT (plugin->button), "button-press-event",
@@ -381,6 +382,7 @@ launcher_plugin_init (LauncherPlugin *plugin)
   gtk_box_pack_start (GTK_BOX (plugin->box), plugin->arrow, FALSE, FALSE, 0);
   xfce_panel_plugin_add_action_widget (XFCE_PANEL_PLUGIN (plugin), plugin->arrow);
   gtk_button_set_relief (GTK_BUTTON (plugin->arrow), GTK_RELIEF_NONE);
+  gtk_widget_set_name (plugin->button, "launcher-arrow");
   gtk_drag_dest_set (plugin->arrow, GTK_DEST_DEFAULT_MOTION,
                      drop_targets, G_N_ELEMENTS (drop_targets),
                      GDK_ACTION_COPY);



More information about the Xfce4-commits mailing list