Updating branch refs/heads/master
         to f624eb1d06fb0375c4fbc29298965d7667519a1f (commit)
       from 78b49f5eba4ccf0e0aa280e45c80b479ea83e470 (commit)

commit f624eb1d06fb0375c4fbc29298965d7667519a1f
Author: Harald Judt <h.j...@gmx.at>
Date:   Thu Aug 8 14:36:42 2013 +0200

    Fix panel widget transparency.
    
    Building the plugin as a module had the side-effect that the panel widget
    is no longer transparent. Fix this by setting the visibility of the
    containing GtkEventBox to false.

 panel-plugin/xfce4-cpufreq-plugin.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/panel-plugin/xfce4-cpufreq-plugin.c 
b/panel-plugin/xfce4-cpufreq-plugin.c
index bad8bf8..1817f26 100644
--- a/panel-plugin/xfce4-cpufreq-plugin.c
+++ b/panel-plugin/xfce4-cpufreq-plugin.c
@@ -226,6 +226,7 @@ cpufreq_widgets (void)
 #endif
 
        cpuFreq->ebox = gtk_event_box_new ();
+       gtk_event_box_set_visible_window (GTK_EVENT_BOX (cpuFreq->ebox), FALSE);
        xfce_panel_plugin_add_action_widget (cpuFreq->plugin, cpuFreq->ebox);
        gtk_container_add (GTK_CONTAINER (cpuFreq->plugin), cpuFreq->ebox);
 
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to