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

Andrzej noreply at xfce.org
Thu Apr 18 21:44:01 CEST 2013


Updating branch refs/heads/nick/gtk3
         to 8b0b96ddd9d4debe3823675b53eb1425256a37ec (commit)
       from 4d61a000fc680b8b0b57c20699cd2636ca33ac46 (commit)

commit 8b0b96ddd9d4debe3823675b53eb1425256a37ec
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 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/libxfce4panel/xfce-panel-plugin.c b/libxfce4panel/xfce-panel-plugin.c
index ce694a6..2b04941 100644
--- a/libxfce4panel/xfce-panel-plugin.c
+++ b/libxfce4panel/xfce-panel-plugin.c
@@ -711,7 +711,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