kimcinoo pushed a commit to branch master.
commit f13ca952df80025a9ac7f79a4698d56c5916a452
Author: Shinwoo Kim <[email protected]>
Date: Fri Mar 1 18:58:25 2013 +0900
[access] remove unnecessary lines
---
src/lib/elm_access.c | 20 +++++---------------
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/src/lib/elm_access.c b/src/lib/elm_access.c
index 09eaae8..fb93527 100644
--- a/src/lib/elm_access.c
+++ b/src/lib/elm_access.c
@@ -420,23 +420,13 @@ _elm_access_highlight_object_activate(Evas_Object *obj,
Elm_Activate act)
highlight = _access_highlight_object_get(obj);
if (!highlight) return;
- if (elm_widget_is(highlight))
- {
- _elm_access_read_mode_set(EINA_FALSE);
-
- if (!elm_object_focus_get(highlight))
- elm_object_focus_set(highlight, EINA_TRUE);
-
- elm_widget_activate(highlight, act);
- return;
- }
+ _elm_access_read_mode_set(EINA_FALSE);
- ac = evas_object_data_get(highlight, "_elm_access");
- if (!ac) return;
+ if (!elm_object_focus_get(highlight))
+ elm_object_focus_set(highlight, EINA_TRUE);
- if (ac->activate)
- ac->activate(ac->activate_data, highlight,
- (Elm_Object_Item *)ac->widget_item);
+ elm_widget_activate(highlight, act);
+ return;
}
EAPI void
--
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb