[Xfce4-commits] [panel-plugins/xfce4-statusnotifier-plugin] 01/01: Allow rect buttons for square icons in single row mode
noreply at xfce.org
noreply at xfce.org
Tue Sep 12 07:36:57 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 9718be3c3d2872e6f6ced5b288290905cfc1dca9
Author: Viktor Odintsev <ninetls at xfce.org>
Date: Tue Sep 12 08:32:53 2017 +0300
Allow rect buttons for square icons in single row mode
---
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 1cbbf58..a1edd6c 100644
--- a/panel-plugin/sn-box.c
+++ b/panel-plugin/sn-box.c
@@ -352,7 +352,7 @@ sn_box_measure_and_allocate (GtkWidget *widget,
rect_child = child_req.width > child_req.height;
if (horizontal)
{
- if (square_icons && (!rect_child || config_nrows >= 2))
+ if (square_icons && (!rect_child || config_nrows >= 2 && !single_row))
item_length = hx_size;
else
item_length = MAX (hx_size, child_req.width);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list