From: Jaeun Choi <jaeun_choi@…> Subject: [E-devel] [PATCH] elm_index: removed unnecessary lines
I removed some unnecessary lines from elm_index.c
- in _index_box_auto_fill _index_box_clear(line 178) does nothing: if _index_box_clear is called, it means sd->level_active[level] is
false (line 116). if sd->level_active[level] is false, _index_box_clear returns immediately (line 60).
- in _on_mouse_down
- in _on_mouse_in_access
- in _autohide_disabled_set Signal emit is enough. Filling the box and displaying the box are separated jobs. I think it's logically consistent to fill the box only when 1) elm_index_level_go is called 2) theme is changed
- in _level_go Always clear the box before fill the box.