naviframe - it's insane that title icon have the focus even if the title area is...
authorChunEon Park <chuneon.park@samsung.com>
Sat, 8 Jun 2013 08:41:46 +0000 (17:41 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 05:40:04 +0000 (14:40 +0900)
src/lib/elc_naviframe.c

index 7d82983..05fd199 100644 (file)
@@ -244,15 +244,7 @@ _access_focus_set(Elm_Naviframe_Item *it)
    ao = ((Elm_Widget_Item *)it)->access_obj;
 
    if (ao && it->title_visible)
-     {
-        elm_object_focus_set(ao, EINA_TRUE);
-     }
-   else if ((it->title_icon) &&
-            (elm_widget_can_focus_get(it->title_icon) ||
-             elm_widget_child_can_focus_get(it->title_icon)))
-     {
-        elm_object_focus_set(it->title_icon, EINA_TRUE);
-     }
+     elm_object_focus_set(ao, EINA_TRUE);
    else elm_object_focus_set(it->content, EINA_TRUE);
 }