[Xfce4-commits] <xfce4-panel:andrzejr/deskbar-panel> panel-itembar: plugins rely on allocation height being equal to the panel size.

Andrzej noreply at xfce.org
Mon Dec 12 18:20:03 CET 2011


Updating branch refs/heads/andrzejr/deskbar-panel
         to 89a539aea924c4d2d9ccf3096363029c73e092d3 (commit)
       from 22b63ca5d140a1210a74079b42ef164891e19d8d (commit)

commit 89a539aea924c4d2d9ccf3096363029c73e092d3
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Tue Dec 13 02:14:01 2011 +0900

    panel-itembar: plugins rely on allocation height being equal to the panel size.

 panel/panel-itembar.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/panel/panel-itembar.c b/panel/panel-itembar.c
index 351ab01..eb8d2d7 100644
--- a/panel/panel-itembar.c
+++ b/panel/panel-itembar.c
@@ -651,14 +651,16 @@ panel_itembar_size_allocate (GtkWidget     *widget,
 
           if (IS_HORIZONTAL (itembar))
             {
-              child_alloc.height = MIN (rows_size, child_req.height);
+              /* child_alloc.height = MIN (rows_size, child_req.height); */
+              child_alloc.height = rows_size;
               child_alloc.width = child_len;
 
               x += child_len;
             }
           else
             {
-              child_alloc.width = MIN (rows_size, child_req.width);
+              /* child_alloc.width = MIN (rows_size, child_req.width); */
+              child_alloc.width = rows_size;
               child_alloc.height = child_len;
 
               y += child_len;


More information about the Xfce4-commits mailing list