[Xfce4-commits] <xfce4-diskperf-plugin:master> Set small property to TRUE so that the plugin fits in a single row.

Landry Breuil noreply at xfce.org
Tue May 8 12:00:01 CEST 2012


Updating branch refs/heads/master
         to fa51ed4379ac812733ce85992c66653cf8ef5627 (commit)
       from 4b5c1d2f12b98c4e3f37d1d76f421ed10301ee8d (commit)

commit fa51ed4379ac812733ce85992c66653cf8ef5627
Author: Landry Breuil <landry at xfce.org>
Date:   Tue May 8 11:58:08 2012 +0200

    Set small property to TRUE so that the plugin fits in a single row.

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

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 66f29b6..3f6ee12 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -1158,6 +1158,7 @@ static void diskperf_construct (XfcePanelPlugin *plugin)
 #ifdef HAS_PANEL_49
     g_signal_connect (plugin, "mode-changed",
                       G_CALLBACK (diskperf_set_mode), diskperf);
+    xfce_panel_plugin_set_small (plugin, TRUE);
 #else
     g_signal_connect (plugin, "orientation-changed",
                       G_CALLBACK (diskperf_set_orientation), diskperf);


More information about the Xfce4-commits mailing list