[Xfce4-commits] <xfce4-systemload-plugin:master> Fix background transparency by setting the main evbox hidden (bug #8891).

Landry Breuil noreply at xfce.org
Wed May 16 20:54:01 CEST 2012


Updating branch refs/heads/master
         to 2fe17f0ae322c42a389775288562adab568615eb (commit)
       from 25a45351d1cb77edf34cd1b4937dc65fd8cd2aba (commit)

commit 2fe17f0ae322c42a389775288562adab568615eb
Author: Harald Judt <h.judt at gmx.at>
Date:   Wed May 16 12:36:28 2012 +0200

    Fix background transparency by setting the main evbox hidden (bug #8891).
    
    The transparency fix in commit e22c9b78384e31720c29e71fc87ba145b21e6cce
    is incomplete. There is another Gtk.EventBox that needs to be set
    invisible, otherwise the label background will not be transparent.
    
    Signed-off-by: Landry Breuil <landry at xfce.org>

 panel-plugin/systemload.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 50c2aa5..58cc658 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -342,6 +342,7 @@ monitor_update_orientation (XfcePanelPlugin  *plugin,
                        FALSE, FALSE, 0);
 
     gtk_container_add(GTK_CONTAINER(global->ebox), GTK_WIDGET(global->box));
+    gtk_event_box_set_visible_window(GTK_EVENT_BOX(global->ebox), FALSE);
     gtk_widget_show(GTK_WIDGET(global->ebox));
 
     update_monitors (global);


More information about the Xfce4-commits mailing list