[Xfce4-commits] <xfce4-fsguard-plugin:master> Fix look on transparent/colored panels. set small property to TRUE.
Landry Breuil
noreply at xfce.org
Mon May 28 14:50:01 CEST 2012
Updating branch refs/heads/master
to be1273b1320cb95969b3159d8d24ce1cb7c2c907 (commit)
from 7ddfa1ccfa7bd4e869e838c752bf5a8733cf8a61 (commit)
commit be1273b1320cb95969b3159d8d24ce1cb7c2c907
Author: Landry Breuil <landry at xfce.org>
Date: Mon May 28 14:48:55 2012 +0200
Fix look on transparent/colored panels. set small property to TRUE.
panel-plugin/fsguard.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/panel-plugin/fsguard.c b/panel-plugin/fsguard.c
index 883838c..2654eb7 100644
--- a/panel-plugin/fsguard.c
+++ b/panel-plugin/fsguard.c
@@ -406,6 +406,8 @@ fsguard_new (XfcePanelPlugin *plugin)
tooltips = gtk_tooltips_new ();
fsguard->ebox = gtk_event_box_new();
+ gtk_event_box_set_visible_window(GTK_EVENT_BOX(fsguard->ebox), FALSE);
+ gtk_event_box_set_above_child(GTK_EVENT_BOX(fsguard->ebox), TRUE);
GtkOrientation orientation = xfce_panel_plugin_get_orientation (plugin);
fsguard->box =
@@ -792,6 +794,7 @@ fsguard_construct (XfcePanelPlugin *plugin)
"mode-changed",
G_CALLBACK (fsguard_set_mode),
fsguard);
+ xfce_panel_plugin_set_small (plugin, TRUE);
#else
g_signal_connect (plugin,
"orientation-changed",
More information about the Xfce4-commits
mailing list