projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a509f
)
widgets - propagate current parent orientation to sub object.
author
ChunEon Park
<hermet@hermet.pe.kr>
Fri, 9 May 2014 06:18:49 +0000
(15:18 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Fri, 9 May 2014 06:18:49 +0000
(15:18 +0900)
If object is unset then set to parent again, the current orientation signals
should be emitted so as to be latest state.
@fix
legacy/elementary/src/lib/elm_widget.c
patch
|
blob
|
history
diff --git
a/legacy/elementary/src/lib/elm_widget.c
b/legacy/elementary/src/lib/elm_widget.c
index
25e6be2
..
f59dfa0
100644
(file)
--- a/
legacy/elementary/src/lib/elm_widget.c
+++ b/
legacy/elementary/src/lib/elm_widget.c
@@
-988,7
+988,12
@@
_elm_widget_sub_object_add(Eo *obj, Elm_Widget_Smart_Data *sd, Evas_Object *sobj
return EINA_FALSE;
}
sdc->parent_obj = obj;
- sdc->orient_mode = sd->orient_mode;
+
+ if (!sdc->on_create)
+ eo_do(sobj, elm_obj_widget_orientation_set(sd->orient_mode));
+ else
+ sdc->orient_mode = sd->orient_mode;
+
_elm_widget_top_win_focused_set(sobj, sd->top_win_focused);
/* update child focusable-ness on self and parents, now that a