[Xfce4-commits] <xfce4-systemload-plugin:master> Fix transparency issues
Florian Rivoal
noreply at xfce.org
Sat Feb 26 15:16:11 CET 2011
Updating branch refs/heads/master
to e22c9b78384e31720c29e71fc87ba145b21e6cce (commit)
from 3304d13cd6abb7addd7c20235d8a6f94eb5ff848 (commit)
commit e22c9b78384e31720c29e71fc87ba145b21e6cce
Author: Florian Rivoal <frivoal at xfce.org>
Date: Sat Feb 26 13:52:16 2011 +0900
Fix transparency issues
Fixes bug #7345.
panel-plugin/systemload.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index afac26e..c6d79d0 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -286,6 +286,7 @@ monitor_set_orientation (XfcePanelPlugin *plugin, GtkOrientation orientation,
gtk_widget_modify_base(GTK_WIDGET(global->monitor[count]->status),
GTK_STATE_SELECTED,
&global->monitor[count]->options.color);
+ gtk_event_box_set_visible_window(global->monitor[count]->ebox, FALSE);
gtk_widget_show(GTK_WIDGET(global->monitor[count]->status));
@@ -295,11 +296,11 @@ monitor_set_orientation (XfcePanelPlugin *plugin, GtkOrientation orientation,
gtk_box_pack_start(GTK_BOX(global->box),
GTK_WIDGET(global->monitor[count]->ebox),
FALSE, FALSE, 0);
-
}
global->uptime->ebox = gtk_event_box_new();
gtk_widget_show(global->uptime->ebox);
+ gtk_event_box_set_visible_window(global->uptime->ebox, FALSE);
gtk_widget_set_has_tooltip(global->monitor[0]->ebox, TRUE);
gtk_widget_set_has_tooltip(global->monitor[1]->ebox, TRUE);
More information about the Xfce4-commits
mailing list