elm_popup & elm_notify: widget can focus set is made as FALSE.
authorshilpa singh <shilpa.singh@samsung.com>
Thu, 30 Dec 2010 07:33:13 +0000 (13:03 +0530)
committershilpa singh <shilpa.singh@samsung.com>
Thu, 30 Dec 2010 07:33:13 +0000 (13:03 +0530)
src/lib/elm_notify.c
src/lib/elm_popup.c

index f3f7822..458ca5c 100644 (file)
@@ -318,6 +318,7 @@ elm_notify_add(Evas_Object *parent)
    elm_widget_del_pre_hook_set(obj, _del_pre_hook);
    elm_widget_del_hook_set(obj, _del_hook);
    elm_widget_theme_hook_set(obj, _theme_hook);
+   elm_widget_can_focus_set(obj, EINA_FALSE);
 
    wd->repeat_events = EINA_TRUE;
 
index 88e85aa..e03cd91 100644 (file)
@@ -364,8 +364,10 @@ elm_popup_add(Evas_Object *parent_app)
    elm_widget_del_pre_hook_set(obj, _del_pre_hook);\r
    elm_widget_del_hook_set(obj, _del_hook);\r
    elm_widget_theme_hook_set(obj, _theme_hook);\r
+   elm_widget_can_focus_set(obj, EINA_FALSE);\r
 \r
    wd->notify = elm_notify_add(parent);    \r
+   elm_widget_sub_object_add(obj, wd->notify);\r
    elm_widget_resize_object_set(obj, wd->notify);\r
    elm_notify_orient_set(wd->notify, ELM_NOTIFY_ORIENT_CENTER);\r
    wd->notify_orient = ELM_NOTIFY_ORIENT_CENTER;\r