[Xfce4-commits] <xfce4-indicator-plugin:andrzejr/tmp3> Removed unneeded event box causing issues with transparent panels.
Andrzej
noreply at xfce.org
Sat Nov 17 22:40:03 CET 2012
Updating branch refs/heads/andrzejr/tmp3
to 00633e1de8308a1456a46f8dc03f7baa2a62c30a (commit)
from aaa1b5f89857605cfbc512f17623d2c66e1f1512 (commit)
commit 00633e1de8308a1456a46f8dc03f7baa2a62c30a
Author: Andrzej <ndrwrdck at gmail.com>
Date: Sat Nov 17 21:39:39 2012 +0000
Removed unneeded event box causing issues with transparent panels.
For unknown reasons indicator plugin was handling transparency
correctly when run as an executable but not when run as a module.
panel-plugin/indicator.c | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/panel-plugin/indicator.c b/panel-plugin/indicator.c
index 09aab6a..e807328 100644
--- a/panel-plugin/indicator.c
+++ b/panel-plugin/indicator.c
@@ -80,7 +80,6 @@ struct _IndicatorPlugin
/* panel widgets */
GtkWidget *item;
GtkWidget *buttonbox;
- GtkWidget *ebox;
/* indicator settings */
gchar **excluded_modules;
@@ -179,16 +178,9 @@ indicator_init (IndicatorPlugin *indicator)
{
XfcePanelPlugin *plugin = XFCE_PANEL_PLUGIN (indicator);
- indicator->ebox = gtk_event_box_new();
- gtk_widget_set_can_focus(GTK_WIDGET(indicator->ebox), TRUE);
-
indicator->buttonbox = xfce_indicator_box_new (plugin);
- gtk_container_add (GTK_CONTAINER (indicator->ebox), GTK_WIDGET(indicator->buttonbox));
- gtk_container_add (GTK_CONTAINER (plugin), GTK_WIDGET(indicator->ebox));
+ gtk_container_add (GTK_CONTAINER (plugin), GTK_WIDGET(indicator->buttonbox));
gtk_widget_show(GTK_WIDGET(indicator->buttonbox));
- gtk_widget_show(GTK_WIDGET(indicator->ebox));
- /* show the panel's right-click menu on this menu */
- xfce_panel_plugin_add_action_widget (plugin, indicator->ebox);
}
More information about the Xfce4-commits
mailing list