From d94f86dba33c8fc5f9e260be83f031f2797b0756 Mon Sep 17 00:00:00 2001 From: shilpa singh Date: Thu, 30 Dec 2010 13:03:13 +0530 Subject: [PATCH] elm_popup & elm_notify: widget can focus set is made as FALSE. --- src/lib/elm_notify.c | 1 + src/lib/elm_popup.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c index f3f7822..458ca5c 100644 --- a/src/lib/elm_notify.c +++ b/src/lib/elm_notify.c @@ -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; diff --git a/src/lib/elm_popup.c b/src/lib/elm_popup.c index 88e85aa..e03cd91 100644 --- a/src/lib/elm_popup.c +++ b/src/lib/elm_popup.c @@ -364,8 +364,10 @@ elm_popup_add(Evas_Object *parent_app) 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->notify = elm_notify_add(parent); + elm_widget_sub_object_add(obj, wd->notify); elm_widget_resize_object_set(obj, wd->notify); elm_notify_orient_set(wd->notify, ELM_NOTIFY_ORIENT_CENTER); wd->notify_orient = ELM_NOTIFY_ORIENT_CENTER; -- 2.7.4