elc_popup: add escape key binding
authorTaehyub Kim <taehyub.kim@samsung.com>
Wed, 18 May 2016 12:55:35 +0000 (21:55 +0900)
committerHermet Park <hermet@hermet.pe.kr>
Wed, 18 May 2016 13:15:08 +0000 (22:15 +0900)
commit55a6bd7fbb8765aff0c0ce0053de903e4d31baea
tree809c8ea66981011025a080079f7845e566a44b09
parent96624b9725bdecbdc5d741bff320395469fdf675
elc_popup: add escape key binding

Summary:
There are no methods to close the popup with key down.
So I added the escape key binding to close the popup with escape key.

Test Plan:
1. patch this code
2. delete /home/{user}/.elementary to refresh the config value
3. launch elementary_test -to "popup"
4. click one example of the list and press escape key
5. see closing the popup

Reviewers: cedric, raster, jpeg, Jaehyun_Cho, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D3876

Conflicts:
src/lib/elementary/elm_priv.h
config/default/base.src.in
config/mobile/base.src.in
config/standard/base.src.in
src/lib/elementary/elc_popup.c
src/lib/elementary/elm_priv.h