woohyun pushed a commit to branch master.

commit d1acd01bc872be9a631ccbd968b430167e2e2e72
Author: WooHyun Jung <[email protected]>
Date:   Fri May 31 16:22:28 2013 +0900

    elementary/elc_popup : Popup should get focus when elm_object_focus_set is 
tried on it even though there is no focusalbe child in it.
---
 src/lib/elc_popup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index df75639..3d2acbc 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -1357,8 +1357,8 @@ _elm_popup_smart_focus_next(Eo *obj EINA_UNUSED, void 
*_pd, va_list *list)
    /* action area */
    if (sd->action_area) items = eina_list_append(items, sd->action_area);
 
-   elm_widget_focus_list_next_get
-           (obj, items, eina_list_data_get, dir, next);
+   if (!elm_widget_focus_list_next_get(obj, items, eina_list_data_get, dir, 
next))
+     *next = obj;
 
    return;
 }

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2

Reply via email to