Quantcast
Channel: Enlightenment
Viewing all articles
Browse latest Browse all 1612

Changeset [82864]: From: Jaeun Choi Subject: [E-devel] [PATCH] ...

$
0
0

From: Jaeun Choi <jaeun_choi@…> Subject: [E-devel] [PATCH] elm_index: removed unnecessary lines

I removed some unnecessary lines from elm_index.c

  1. in _index_box_auto_fill _index_box_clear(line 178) does nothing: if _index_box_clear is called, it means sd-&gt;level_active[level] is

false (line 116). if sd-&gt;level_active[level] is false, _index_box_clear returns immediately (line 60).

  1. in _on_mouse_down
  2. in _on_mouse_in_access
  3. 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

  1. in _level_go Always clear the box before fill the box.

Viewing all articles
Browse latest Browse all 1612

Trending Articles