forked from enlightenment/efl
elm_panel.c: call elm_widget_can_focus_set() just once in smart add.
This commit is contained in:
parent
5eb167c922
commit
1d0521337c
|
@ -347,8 +347,6 @@ _elm_panel_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
||||||
|
|
||||||
eo_do(obj, elm_wdg_theme(NULL));
|
eo_do(obj, elm_wdg_theme(NULL));
|
||||||
|
|
||||||
elm_widget_can_focus_set(obj, EINA_TRUE);
|
|
||||||
|
|
||||||
priv->bx = evas_object_box_add(evas_object_evas_get(obj));
|
priv->bx = evas_object_box_add(evas_object_evas_get(obj));
|
||||||
evas_object_size_hint_align_set(priv->bx, 0.5, 0.5);
|
evas_object_size_hint_align_set(priv->bx, 0.5, 0.5);
|
||||||
evas_object_box_layout_set(priv->bx, _box_layout_cb, priv, NULL);
|
evas_object_box_layout_set(priv->bx, _box_layout_cb, priv, NULL);
|
||||||
|
|
Loading…
Reference in New Issue