projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa792d
)
genlist: Remove unnecessary callbacks when item loop is disabled.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Thu, 6 Nov 2014 17:20:18 +0000
(
02:20
+0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Thu, 6 Nov 2014 17:20:21 +0000
(
02:20
+0900)
@fix
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index 061e0a4c2f323dd5fbbcad3d2eaf880c6b02af39..7ad7faf57ad6fddd5ea402aa22b6d028ed01243d 100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-7590,6
+7590,13
@@
_elm_genlist_elm_widget_item_loop_enabled_set(Eo *obj EINA_UNUSED, Elm_Genlist_D
_elm_widget_focus_highlight_signal_callback_add(obj, "elm,focus,move,up,end",
"elm", _elm_genlist_focus_highlight_move_up_end_cb, obj);
}
+ else
+ {
+ _elm_widget_focus_highlight_signal_callback_del(obj, "elm,focus,move,down,end",
+ "elm", _elm_genlist_focus_highlight_move_down_end_cb);
+ _elm_widget_focus_highlight_signal_callback_del(obj, "elm,focus,move,up,end",
+ "elm", _elm_genlist_focus_highlight_move_up_end_cb);
+ }
sd->item_loop_enable = !!enable;
}