From f93200f9898e6794d096269281ac2577b4f1e6e2 Mon Sep 17 00:00:00 2001 From: Andrzej Date: Fri, 27 Jan 2012 18:20:55 +0900 Subject: [PATCH] Updating the size of bars and drawing area after orientation change. --- 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 1f13b51..3c7bad4 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) -- 1.7.5.4