elm: popup: add keybinding for popup "block,clicked" action
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Fri, 10 Jul 2015 15:21:18 +0000 (17:21 +0200)
committerJiyoun Park <jy0703.park@samsung.com>
Thu, 21 Dec 2017 07:11:55 +0000 (16:11 +0900)
@tizen_feature

original patch: c856367d97020002d9a8a9e26914de8469653a86

Change-Id: I50e46127e937525ea9057cb08314d8c2d8757db9

config/default/base.src.in
config/standard/base.src.in
src/lib/elementary/elc_popup.c

index 7e9444c..ed81171 100644 (file)
@@ -602,7 +602,7 @@ group "Elm_Config" struct {
            group "Elm_Config_Binding_Key" struct {
               value "context" int: 0;
               value "key" string: "Escape";
-              value "action" string: "esc";
+              value "action" string: "escape";
               value "params" string: "";
            }
         }
index 9781512..aed0562 100644 (file)
@@ -604,7 +604,7 @@ group "Elm_Config" struct {
               value "context" int: 0;
               value "key" string: "Escape";
               value "action" string: "escape";
-              value "params" string: "esc";
+              value "params" string: "";
            }
         }
      }
index cc10c9d..5b050f4 100644 (file)
@@ -1390,6 +1390,9 @@ err:
 static Eina_Bool
 _key_action_escape(Evas_Object *obj, const char *params EINA_UNUSED)
 {
+//TIZEN_ONLY(20150709) : add keybinding for elm_popup "block,clicked" action
+   evas_object_smart_callback_call(obj, SIG_BLOCK_CLICKED, NULL);
+//
    ELM_POPUP_DATA_GET(obj, pd);
    elm_layout_signal_emit(pd->main_layout, "elm,state,hide", "elm");
    elm_notify_dismiss(pd->notify);
@@ -1788,6 +1791,9 @@ EOLIAN const Efl_Access_Action_Data *
 _elm_popup_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Popup_Data *pd)
 {
    static Efl_Access_Action_Data atspi_actions[] = {
+//TIZEN_ONLY(20150709) : add keybinding for elm_popup "block,clicked" action
+          { "escape", "escape", NULL, _key_action_escape},
+//
           { "dismiss", NULL, NULL, _action_dismiss},
           { NULL, NULL, NULL, NULL }
    };