cedric pushed a commit to branch master.


commit 763f9180396ded1de7daa8bffece5c33d82510d1
Author: SangHyeon Lee <dltkdgus1...@gmail.com>
Date:   Wed Jun 17 15:14:47 2015 +0200

    gengrid: remove duplicated focus state recovering.
    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 <ced...@osg.samsung.com>
 src/lib/elm_gengrid.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 688ef19..fe86335 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -996,9 +996,6 @@ _item_realize(Elm_Gen_Item *it)
           edje_object_signal_emit(VIEW(it), "elm,state,selected", "elm");
         if (eo_do_ret(eo_it, tmp, elm_wdg_item_disabled_get()))
           edje_object_signal_emit(VIEW(it), "elm,state,disabled", "elm");
-        if (it == (Elm_Gen_Item *)sd->focused_item &&
-            elm_widget_focus_highlight_enabled_get(WIDGET(it)))
-          edje_object_signal_emit(VIEW(it), "elm,state,focused", "elm");


Reply via email to