[Xfce4-commits] <xfce4-panel:master> Tasklist: Reverting button allocation order to the LTR direction.

Nick Schermer noreply at xfce.org
Fri Dec 30 20:46:02 CET 2011


Updating branch refs/heads/master
         to 3b45e57d8c51b67b588f6a8f66863b23bcf19536 (commit)
       from f867ceb4b54d411d3a6c926c0db0f3f506905605 (commit)

commit 3b45e57d8c51b67b588f6a8f66863b23bcf19536
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Fri Dec 30 20:30:29 2011 +0100

    Tasklist: Reverting button allocation order to the LTR direction.
    
    This is to match the (IMHO broken) allocation order of the
    panel in the vertical mode. ATM the consensus is that the
    allocation order should not be changed so that the users
    are not exposed to any visible UI changes.

 plugins/tasklist/tasklist-widget.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index 4a38af7..934ed7e 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -1047,11 +1047,7 @@ xfce_tasklist_size_allocate (GtkWidget     *widget,
               area_x += w;
             }
 
-          if (xfce_tasklist_vertical (tasklist))
-            /* lay out buttons right to left in the vertical mode */
-            child_alloc.y = 2 * area.y + area.height - y - h;
-          else
-            child_alloc.y = y;
+          child_alloc.y = y;
           child_alloc.x = x;
           child_alloc.width = MAX (w, 1); /* TODO this is a workaround */
           child_alloc.height = h;


More information about the Xfce4-commits mailing list