[Xfce4-commits] <xfce4-wavelan-plugin:master> Set small property in all cases

Landry Breuil noreply at xfce.org
Fri Jun 29 22:10:01 CEST 2012


Updating branch refs/heads/master
         to f3e3df9424c86c27e86ed8ae0b40a55ca393185d (commit)
       from 10e836e81e48cc9ae9c1883ae4a09fbd61d883cd (commit)

commit f3e3df9424c86c27e86ed8ae0b40a55ca393185d
Author: Landry Breuil <landry at xfce.org>
Date:   Fri Jun 29 22:07:36 2012 +0200

    Set small property in all cases
    
    The icon looks garbled in deskbar mode with several rows..

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

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 27d8e21..51e8aaa 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -425,7 +425,7 @@ wavelan_set_size(XfcePanelPlugin* plugin, int size, t_wavelan *wavelan)
   DBG("wavelan_set_size(%d)", size);
 #ifdef HAS_PANEL_49
   size /= xfce_panel_plugin_get_nrows(plugin);
-  xfce_panel_plugin_set_small (plugin, (xfce_panel_plugin_get_mode(plugin) != XFCE_PANEL_PLUGIN_MODE_DESKBAR));
+  xfce_panel_plugin_set_small (plugin, TRUE);
 #endif
   border_width = size > 26 ? 2 : 1;
   wavelan->size = size;


More information about the Xfce4-commits mailing list