[Xfce4-commits] <xfce4-mpc-plugin:master> set small to TRUE only if not in deskbar mode

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


Updating branch refs/heads/master
         to 724e541c336a029a2ebc533c0ba07c84762e4e9b (commit)
       from b3e07624fb08c891d3d4290bd2a9f418ce73aad5 (commit)

commit 724e541c336a029a2ebc533c0ba07c84762e4e9b
Author: Landry Breuil <landry at xfce.org>
Date:   Tue May 8 12:42:45 2012 +0200

    set small to TRUE only if not in deskbar mode

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

diff --git a/panel-plugin/xfce4-mpc-plugin.c b/panel-plugin/xfce4-mpc-plugin.c
index 4774217..b113491 100644
--- a/panel-plugin/xfce4-mpc-plugin.c
+++ b/panel-plugin/xfce4-mpc-plugin.c
@@ -62,6 +62,7 @@ mpc_set_mode (XfcePanelPlugin * plugin, XfcePanelPluginMode mode, t_mpc * mpc)
       GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL;
 
    xfce_hvbox_set_orientation(XFCE_HVBOX(mpc->box), orientation);
+   xfce_panel_plugin_set_small (plugin, (mode != XFCE_PANEL_PLUGIN_MODE_DESKBAR));
 }
 
 #else


More information about the Xfce4-commits mailing list