diff options
author | Jaeun Choi <jaeun12.choi@samsung.com> | 2014-02-28 10:36:15 +0900 |
---|---|---|
committer | ChunEon Park <hermet@hermet.pe.kr> | 2014-02-28 10:47:03 +0900 |
commit | 7d627d90f7f1e9aa93fe40400e04e0f2f414b041 (patch) | |
tree | dc0e52d05014b228009399cb3787e54bc2235df3 /config | |
parent | 8a8c4c08c035389f445d9faee27257045c1c8673 (diff) | |
download | elementary-7d627d90f7f1e9aa93fe40400e04e0f2f414b041.tar.gz |
elementary key binding feature implementation
Summary: This patch implements elementary key binding feature.
Test Plan: None
Reviewers: Hermet, raster
CC: seoz
Differential Revision: https://phab.enlightenment.org/D506
Conflicts:
src/lib/elm_config.c
Diffstat (limited to 'config')
-rw-r--r-- | config/default/base.src | 31 | ||||
-rw-r--r-- | config/standard/Makefile.am | 4 | ||||
-rw-r--r-- | config/standard/base.src | 31 |
3 files changed, 64 insertions, 2 deletions
diff --git a/config/default/base.src b/config/default/base.src index 124f5bf60..edce1e627 100644 --- a/config/default/base.src +++ b/config/default/base.src @@ -244,4 +244,35 @@ group "Elm_Config" struct { } } } + group "bindings" list { + group "Elm_Config_Bindings_Widget" struct { + value "name" string: "Elm_Panel"; + group "key_bindings" list { + group "Elm_Config_Binding_Key" struct { + value "context" int: 0; + value "modifiers" string: "None"; + value "key" string: "Return"; + value "action" string: "toggle"; + value "params" string: ""; + value "any_mod" uchar: 1; + } + group "Elm_Config_Binding_Key" struct { + value "context" int: 0; + value "modifiers" string: "None"; + value "key" string: "KP_Enter"; + value "action" string: "toggle"; + value "params" string: ""; + value "any_mod" uchar: 1; + } + group "Elm_Config_Binding_Key" struct { + value "context" int: 0; + value "modifiers" string: "None"; + value "key" string: "space"; + value "action" string: "toggle"; + value "params" string: ""; + value "any_mod" uchar: 1; + } + } + } + } } diff --git a/config/standard/Makefile.am b/config/standard/Makefile.am index 60ce44b6d..b84899da5 100644 --- a/config/standard/Makefile.am +++ b/config/standard/Makefile.am @@ -5,13 +5,13 @@ EET_EET = @eet_eet@ EXTRA_DIST = \ profile.desktop \ icon.png \ - base.src + base.src filesdir = $(datadir)/elementary/config/standard files_DATA = \ profile.desktop \ icon.png \ - base.cfg + base.cfg %.cfg: %.src $(EET_EET) -e \ diff --git a/config/standard/base.src b/config/standard/base.src index cf61b7929..bd7ae561e 100644 --- a/config/standard/base.src +++ b/config/standard/base.src @@ -245,4 +245,35 @@ group "Elm_Config" struct { } } } + group "bindings" list { + group "Elm_Config_Bindings_Widget" struct { + value "name" string: "Elm_Panel"; + group "key_bindings" list { + group "Elm_Config_Binding_Key" struct { + value "context" int: 0; + value "modifiers" string: "None"; + value "key" string: "Return"; + value "action" string: "toggle"; + value "params" string: ""; + value "any_mod" uchar: 1; + } + group "Elm_Config_Binding_Key" struct { + value "context" int: 0; + value "modifiers" string: "None"; + value "key" string: "KP_Enter"; + value "action" string: "toggle"; + value "params" string: ""; + value "any_mod" uchar: 1; + } + group "Elm_Config_Binding_Key" struct { + value "context" int: 0; + value "modifiers" string: "None"; + value "key" string: "space"; + value "action" string: "toggle"; + value "params" string: ""; + value "any_mod" uchar: 1; + } + } + } + } } |