From 523297698eef8dbda717ae9e56997befed8747a6 Mon Sep 17 00:00:00 2001 From: Harald Judt Date: Thu, 24 May 2012 20:23:01 +0200 Subject: Set plugin to small in all modes except deskbar modes. --- panel-plugin/systemload.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c index a35f1a8..183d29b 100644 --- a/panel-plugin/systemload.c +++ b/panel-plugin/systemload.c @@ -652,6 +652,12 @@ monitor_set_mode (XfcePanelPlugin *plugin, XfcePanelPluginMode mode, GtkOrientation orientation = (mode == XFCE_PANEL_PLUGIN_MODE_VERTICAL) ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL; + /* Set small in all modes except deskbar mode */ + if (mode == XFCE_PANEL_PLUGIN_MODE_DESKBAR) + xfce_panel_plugin_set_small(XFCE_PANEL_PLUGIN(plugin), FALSE); + else + xfce_panel_plugin_set_small(XFCE_PANEL_PLUGIN(plugin), TRUE); + monitor_update_orientation (plugin, panel_orientation, orientation, global); monitor_set_size (plugin, xfce_panel_plugin_get_size (plugin), global); } -- 1.7.8.6