[Xfce4-commits] <xfce4-cpugraph-plugin:master> set bars orientation to opposite of panel orientation, fixes deskbar mode

Landry Breuil noreply at xfce.org
Sat Jun 30 11:28:05 CEST 2012


Updating branch refs/heads/master
         to 9be0ab867b0f085191503f83492db2f9cbfb1761 (commit)
       from f992ddb2671429c04d1cc9a2dbc52a08d7bd8e97 (commit)

commit 9be0ab867b0f085191503f83492db2f9cbfb1761
Author: Landry Breuil <landry at xfce.org>
Date:   Sat Jun 30 11:13:49 2012 +0200

    set bars orientation to opposite of panel orientation, fixes deskbar mode

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

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index 8958259..b997840 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -292,7 +292,7 @@ static void orientation_cb( XfcePanelPlugin * plugin, GtkOrientation orientation
 	xfce_hvbox_set_orientation( XFCE_HVBOX( base->box ), orientation );
 #endif
 	if( base->has_bars )
-		set_bars_orientation( base, orientation );
+		set_bars_orientation( base, panel_orientation );
 
 	size_cb( plugin, xfce_panel_plugin_get_size( base->plugin ), base);
 }


More information about the Xfce4-commits mailing list