summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangHyeon Lee <dltkdgus1764@gmail.com>2015-06-17 15:14:47 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-06-17 15:59:19 +0200
commit763f9180396ded1de7daa8bffece5c33d82510d1 (patch)
treecb25bdee75327f337b748b78fc29176ec81df336
parentb52cbe891530f3e2e02ca1a2ff0a805380b017fd (diff)
gengrid: remove duplicated focus state recovering.
Summary: gengrid focus state recovering in item_realize is duplicated. remove unnecessary lines. you can find same signal emit codes under line 1018. Test Plan: test elemetary test gengrid focus highight show correctly after code merged. Reviewers: raster, Hermet, seoz, jaehwan, cedric Reviewed By: cedric Subscribers: singh.amitesh, eagleeye Differential Revision: https://phab.enlightenment.org/D2656 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/elm_gengrid.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 688ef19d9..fe863354a 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -996,9 +996,6 @@ _item_realize(Elm_Gen_Item *it)
996 edje_object_signal_emit(VIEW(it), "elm,state,selected", "elm"); 996 edje_object_signal_emit(VIEW(it), "elm,state,selected", "elm");
997 if (eo_do_ret(eo_it, tmp, elm_wdg_item_disabled_get())) 997 if (eo_do_ret(eo_it, tmp, elm_wdg_item_disabled_get()))
998 edje_object_signal_emit(VIEW(it), "elm,state,disabled", "elm"); 998 edje_object_signal_emit(VIEW(it), "elm,state,disabled", "elm");
999 if (it == (Elm_Gen_Item *)sd->focused_item &&
1000 elm_widget_focus_highlight_enabled_get(WIDGET(it)))
1001 edje_object_signal_emit(VIEW(it), "elm,state,focused", "elm");
1002 } 999 }
1003 edje_object_message_signal_process(VIEW(it)); 1000 edje_object_message_signal_process(VIEW(it));
1004 evas_object_show(VIEW(it)); 1001 evas_object_show(VIEW(it));