[Xfce4-commits] <xfce4-panel:master> PanelPlugin: workaround for transparency issues.

Nick Schermer noreply at xfce.org
Sat Nov 30 17:12:18 CET 2013


Updating branch refs/heads/master
         to ac4c4e70e7312d133ae3a6885412aa41d9fb11cf (commit)
       from a10342d7d4af2f41204bc036867a619e4cae732e (commit)

commit ac4c4e70e7312d133ae3a6885412aa41d9fb11cf
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