[Xfce4-commits] <xfce4-panel:andrzejr/wrapper3> PanelPlugin: workaround for transparency issues.
Andrzej
noreply at xfce.org
Mon Aug 26 00:26:11 CEST 2013
Updating branch refs/heads/andrzejr/wrapper3
to 2502e16c7d50862adfec96955532d02c35dedaf8 (commit)
from 20202a2432490490f4ff246babd37aa8205147cb (commit)
commit 2502e16c7d50862adfec96955532d02c35dedaf8
Author: Andrzej <ndrwrdck at gmail.com>
Date: Thu Apr 18 20:43:29 2013 +0100
PanelPlugin: workaround for transparency issues.
It disables plugin transparency completely (breaking custom background
colors, bitmaps and alpha settings). But at least it makes the panel
usable with "system style" background settings.
How to fix it properly?
External plugins work fine but they have their own API for setting
the background style.
libxfce4panel/xfce-panel-plugin.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libxfce4panel/xfce-panel-plugin.c b/libxfce4panel/xfce-panel-plugin.c
index cd67eaa..1e5933e 100644
--- a/libxfce4panel/xfce-panel-plugin.c
+++ b/libxfce4panel/xfce-panel-plugin.c
@@ -715,7 +715,10 @@ xfce_panel_plugin_init (XfcePanelPlugin *plugin)
#endif
/* hide the event box window to make the plugin transparent */
- gtk_event_box_set_visible_window (GTK_EVENT_BOX (plugin), FALSE);
+ // FIXME
+ // Temporarily disabled to workaround plugin transparency issues.
+ // It breaks background transparency and color support.
+ //gtk_event_box_set_visible_window (GTK_EVENT_BOX (plugin), FALSE);
}
More information about the Xfce4-commits
mailing list