elementary/plug : elm_plug should call elm_widget_can_focus_set after adding parent class.

SVN revision: 82851
This commit is contained in:
WooHyun Jung 2013-01-16 04:13:04 +00:00
parent 5122a4d821
commit 4ca57974cd
2 changed files with 5 additions and 2 deletions

View File

@ -906,3 +906,7 @@
2013-01-16 Shilpa Singh <shilpa.singh@samsung.com>, Rajeev Ranjan <rajeev.r@samsung.com>
* Fix "changed" signal being sent twice in case of toggle style when check is clicked.
2013-01-16 WooHyun Jung
* elm_plug should call elm_widget_can_focus_set after adding parent class.

View File

@ -89,8 +89,6 @@ _elm_plug_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
elm_widget_can_focus_set(obj, EINA_FALSE);
eo_do_super(obj, evas_obj_smart_add());
ee = ecore_evas_ecore_evas_get(evas_object_evas_get(obj));
@ -105,6 +103,7 @@ _elm_plug_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
(wd->resize_obj, EVAS_CALLBACK_MOUSE_UP, _on_mouse_up,
obj);
elm_widget_can_focus_set(obj, EINA_FALSE);
_sizing_eval(obj);
}