hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=ab4ddaa2fde2365e2934decb7879b4cdeca1adf4

commit ab4ddaa2fde2365e2934decb7879b4cdeca1adf4
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Thu Feb 19 13:06:04 2015 +0900

    bin/tools: code clean up.
    
    split behaviors as possible.
---
 src/bin/tools.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/bin/tools.c b/src/bin/tools.c
index fa40172..30e36ef 100644
--- a/src/bin/tools.c
+++ b/src/bin/tools.c
@@ -10,13 +10,8 @@ menu_cb(void *data, Evas_Object *obj EINA_UNUSED, void 
*event_info EINA_UNUSED)
    Evas_Object *enventor = data;
 
    if (live_edit_get()) live_edit_cancel();
-
-   if (search_is_opened() || goto_is_opened())
-     {
-        goto_close();
-        search_close();
-        enventor_object_focus_set(enventor, EINA_TRUE);
-     }
+   if (search_is_opened()) search_close();
+   if (goto_is_opened()) goto_close();
 
    enventor_object_focus_set(enventor, EINA_TRUE);
 

-- 


Reply via email to