Browse Source

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.
upstream/xfce4-panel-4.10.1
Andrzej 10 years ago
committed by Nick Schermer
parent
commit
3b45e57d8c
  1. 6
      plugins/tasklist/tasklist-widget.c

6
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;

Loading…
Cancel
Save