projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ca3f8f
)
grid-layout: Fix attach position for horizontal orientation
author
Bastian Winkler
<buz@netbuz.org>
Mon, 11 Jun 2012 15:17:46 +0000
(17:17 +0200)
committer
Bastian Winkler
<buz@netbuz.org>
Tue, 12 Jun 2012 21:50:44 +0000
(23:50 +0200)
Switch the attach position. A new child should be positioned right of
it's previous sibling in ltr mode.
clutter/clutter-grid-layout.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-grid-layout.c
b/clutter/clutter-grid-layout.c
index
63752aa
..
c482af7
100644
(file)
--- 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_LEF
T;
+ side = rtl ? CLUTTER_GRID_POSITION_
LEFT : CLUTTER_GRID_POSITION_RIGH
T;
}
else
{