diff options
author | Bastian Winkler <buz@netbuz.org> | 2012-06-11 17:17:46 +0200 |
---|---|---|
committer | Bastian Winkler <buz@netbuz.org> | 2012-06-12 23:50:44 +0200 |
commit | 7c8f761d43f17b2dafa9be930fc5d6409fc5ee0a (patch) | |
tree | 44806ae3656db718bc247bd70b3f0f2fdd8a613c /clutter/clutter-grid-layout.c | |
parent | 9ca3f8f013216efb0afa122c4781206b4aaefc15 (diff) | |
download | clutter-7c8f761d43f17b2dafa9be930fc5d6409fc5ee0a.tar.gz |
grid-layout: Fix attach position for horizontal orientation
Switch the attach position. A new child should be positioned right of
it's previous sibling in ltr mode.
Diffstat (limited to 'clutter/clutter-grid-layout.c')
-rw-r--r-- | clutter/clutter-grid-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-grid-layout.c b/clutter/clutter-grid-layout.c index 63752aaaa..c482af754 100644 --- a/clutter/clutter-grid-layout.c +++ b/clutter/clutter-grid-layout.c @@ -360,7 +360,7 @@ clutter_grid_request_update_child_attach (ClutterGridRequest *request, td = clutter_actor_get_text_direction (container); rtl = (td == CLUTTER_TEXT_DIRECTION_RTL) ? TRUE : FALSE; - side = rtl ? CLUTTER_GRID_POSITION_RIGHT : CLUTTER_GRID_POSITION_LEFT; + side = rtl ? CLUTTER_GRID_POSITION_LEFT : CLUTTER_GRID_POSITION_RIGHT; } else { |