rimmed pushed a commit to branch eflete-1.18.

http://git.enlightenment.org/tools/eflete.git/commit/?id=c264f1bc4551a46c7ee1f62346f754af13eb96c3

commit c264f1bc4551a46c7ee1f62346f754af13eb96c3
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Fri Sep 2 16:45:12 2016 +0300

    popup: block menu while async popup is active
---
 src/bin/ui/popup.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/ui/popup.c b/src/bin/ui/popup.c
index 3a13d21..536d771 100644
--- a/src/bin/ui/popup.c
+++ b/src/bin/ui/popup.c
@@ -226,6 +226,7 @@ _popup_btn_cb(void *data,
 
    ecore_job_add(_popup_del_job, pd);
    evas_object_smart_callback_call(pd->popup, POPUP_CLOSE_CB, data);
+   ui_menu_items_list_disable_set(ap.menu, MENU_ITEMS_LIST_MAIN, false);
 }
 
 static Evas_Object *
@@ -293,6 +294,8 @@ popup_add(const char *title,
    shortcuts_object_push(pd->popup);
    evas_object_show(pd->popup);
 
+   ui_menu_items_list_disable_set(ap.menu, MENU_ITEMS_LIST_MAIN, true);
+
    return pd->popup;
 }
 

-- 


Reply via email to