summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-05-09 15:18:49 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-05-09 15:18:49 +0900
commitb2b22c56bd4937f616b8034fc3e136c08bfe3f1e (patch)
tree718a17804d3113bd22d165677e984df6314d9fce
parent508fa850f4fa1da376fbf9d26906d328558e6307 (diff)
widgets - propagate current parent orientation to sub object.
If object is unset then set to parent again, the current orientation signals should be emitted so as to be latest state. @fix
-rw-r--r--src/lib/elm_widget.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 25e6be290..f59dfa03a 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -988,7 +988,12 @@ _elm_widget_sub_object_add(Eo *obj, Elm_Widget_Smart_Data *sd, Evas_Object *sobj
988 return EINA_FALSE; 988 return EINA_FALSE;
989 } 989 }
990 sdc->parent_obj = obj; 990 sdc->parent_obj = obj;
991 sdc->orient_mode = sd->orient_mode; 991
992 if (!sdc->on_create)
993 eo_do(sobj, elm_obj_widget_orientation_set(sd->orient_mode));
994 else
995 sdc->orient_mode = sd->orient_mode;
996
992 _elm_widget_top_win_focused_set(sobj, sd->top_win_focused); 997 _elm_widget_top_win_focused_set(sobj, sd->top_win_focused);
993 998
994 /* update child focusable-ness on self and parents, now that a 999 /* update child focusable-ness on self and parents, now that a