rimmed pushed a commit to branch master.

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

commit 294c983c7bd73c65d48e121c866c4b2a6b35fc29
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Tue Jul 5 17:26:48 2016 +0300

    popup: add shortcuts handler object
    
    currently it only blocks all non-global shortcuts.
    reactions on cancel/done will be added later
---
 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 c8d3d60..39b5ce2 100644
--- a/src/bin/ui/popup.c
+++ b/src/bin/ui/popup.c
@@ -21,6 +21,7 @@
 #include "widget_macro.h"
 #include "project_manager.h"
 #include "config.h"
+#include "shortcuts.h"
 
 static Popup_Button btn_pressed;
 static Evas_Object *helper;
@@ -138,7 +139,9 @@ popup_want_action(const char *title,
    if (data) /* this is probably entry now */
      evas_object_smart_callback_call(data, "changed", NULL);
 
+   shortcuts_object_push(ap.popup);
    eflete_main_loop_begin();
+   shortcuts_object_check_pop(ap.popup);
 
    /* clear up before return the presed button */
    elm_object_content_unset(ap.popup);

-- 


Reply via email to