[Xfce4-commits] [panel-plugins/xfce4-statusnotifier-plugin] 02/03: Fix icon size in vertical mode for square icons

noreply at xfce.org noreply at xfce.org
Sun Sep 10 22:30:07 CEST 2017


This is an automated email from the git hooks/post-receive script.

n   i   n   e   t   l   s       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-statusnotifier-plugin.

commit 6ecb84dde6215fd5a8912344c1249a8d6cdd8094
Author: Viktor Odintsev <ninetls at xfce.org>
Date:   Sun Sep 10 23:14:09 2017 +0300

    Fix icon size in vertical mode for square icons
---
 panel-plugin/sn-box.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/sn-box.c b/panel-plugin/sn-box.c
index dadbc1f..eb35c83 100644
--- a/panel-plugin/sn-box.c
+++ b/panel-plugin/sn-box.c
@@ -356,7 +356,7 @@ sn_box_measure_and_allocate (GtkWidget *widget,
             }
           else
             {
-              item_length = MAX (MIN (panel_size, child_req.width), hy_size);
+              item_length = square_icons ? hy_size : MAX (MIN (panel_size, child_req.width), hy_size);
               column_length = hx_size;
               single_horizontal = !square_icons && child_req.width > child_req.height;
             }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list