[Xfce4-commits] <xfce4-cpugraph-plugin:master> Updating the size of bars and drawing area after orientation change.

Landry Breuil noreply at xfce.org
Thu Apr 19 10:16:01 CEST 2012


Updating branch refs/heads/master
         to 6706b90ec184947ddb488dd30e552e2c663218fa (commit)
       from d04d9b15a97df645286cfb6be2a2d8987b0167f7 (commit)

commit 6706b90ec184947ddb488dd30e552e2c663218fa
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Fri Jan 27 18:20:55 2012 +0900

    Updating the size of bars and drawing area after orientation change.
    
    Signed-off-by: Landry Breuil <landry at xfce.org>

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

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index 21d49f7..aa42ecf 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -231,6 +231,7 @@ static void orientation_cb( XfcePanelPlugin * plugin, GtkOrientation orientation
 	if( base->has_bars )
 		set_bars_orientation( base, orientation );
 
+	size_cb( plugin, xfce_panel_plugin_get_size( base->plugin ), base);
 }
 
 static void set_bars_orientation( CPUGraph *base, GtkOrientation orientation)


More information about the Xfce4-commits mailing list