Updating branch refs/heads/master
         to 1a45c5301f018ac89cdfb8479c3d29fd0e1412b4 (commit)
       from fb5ae31d9efa8a8af673da466851d17642b6a93b (commit)

commit 1a45c5301f018ac89cdfb8479c3d29fd0e1412b4
Author: Andrzej <[email protected]>
Date:   Fri Jan 27 02:08:03 2012 +0900

    Fixing incorrect icon size in the previous commits.
    
    Signed-off-by: Landry Breuil <[email protected]>

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

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 09d6812..36d0042 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -629,7 +629,8 @@ battmon_icon (t_battmon *battmon)
 
 #if defined (LIBXFCE4PANEL_CHECK_VERSION) && LIBXFCE4PANEL_CHECK_VERSION 
(4,9,0)
     size = xfce_panel_plugin_get_size (battmon->plugin);
-    size /= xfce_panel_plugin_get_nrows (battmon->plugin) - 6;
+    size /= xfce_panel_plugin_get_nrows (battmon->plugin);
+    size -= 6;
 #else
     size = xfce_panel_plugin_get_size (battmon->plugin) - 6;
 #endif
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to