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) |
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 { | |||
244 | } | 244 | } |
245 | } | 245 | } |
246 | } | 246 | } |
247 | group "bindings" list { | ||
248 | group "Elm_Config_Bindings_Widget" struct { | ||
249 | value "name" string: "Elm_Panel"; | ||
250 | group "key_bindings" list { | ||
251 | group "Elm_Config_Binding_Key" struct { | ||
252 | value "context" int: 0; | ||
253 | value "modifiers" string: "None"; | ||
254 | value "key" string: "Return"; | ||
255 | value "action" string: "toggle"; | ||
256 | value "params" string: ""; | ||
257 | value "any_mod" uchar: 1; | ||
258 | } | ||
259 | group "Elm_Config_Binding_Key" struct { | ||
260 | value "context" int: 0; | ||
261 | value "modifiers" string: "None"; | ||
262 | value "key" string: "KP_Enter"; | ||
263 | value "action" string: "toggle"; | ||
264 | value "params" string: ""; | ||
265 | value "any_mod" uchar: 1; | ||
266 | } | ||
267 | group "Elm_Config_Binding_Key" struct { | ||
268 | value "context" int: 0; | ||
269 | value "modifiers" string: "None"; | ||
270 | value "key" string: "space"; | ||
271 | value "action" string: "toggle"; | ||
272 | value "params" string: ""; | ||
273 | value "any_mod" uchar: 1; | ||
274 | } | ||
275 | } | ||
276 | } | ||
277 | } | ||
247 | } | 278 | } |
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@ | |||
5 | EXTRA_DIST = \ | 5 | EXTRA_DIST = \ |
6 | profile.desktop \ | 6 | profile.desktop \ |
7 | icon.png \ | 7 | icon.png \ |
8 | base.src | 8 | base.src |
9 | 9 | ||
10 | filesdir = $(datadir)/elementary/config/standard | 10 | filesdir = $(datadir)/elementary/config/standard |
11 | files_DATA = \ | 11 | files_DATA = \ |
12 | profile.desktop \ | 12 | profile.desktop \ |
13 | icon.png \ | 13 | icon.png \ |
14 | base.cfg | 14 | base.cfg |
15 | 15 | ||
16 | %.cfg: %.src | 16 | %.cfg: %.src |
17 | $(EET_EET) -e \ | 17 | $(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 { | |||
245 | } | 245 | } |
246 | } | 246 | } |
247 | } | 247 | } |
248 | group "bindings" list { | ||
249 | group "Elm_Config_Bindings_Widget" struct { | ||
250 | value "name" string: "Elm_Panel"; | ||
251 | group "key_bindings" list { | ||
252 | group "Elm_Config_Binding_Key" struct { | ||
253 | value "context" int: 0; | ||
254 | value "modifiers" string: "None"; | ||
255 | value "key" string: "Return"; | ||
256 | value "action" string: "toggle"; | ||
257 | value "params" string: ""; | ||
258 | value "any_mod" uchar: 1; | ||
259 | } | ||
260 | group "Elm_Config_Binding_Key" struct { | ||
261 | value "context" int: 0; | ||
262 | value "modifiers" string: "None"; | ||
263 | value "key" string: "KP_Enter"; | ||
264 | value "action" string: "toggle"; | ||
265 | value "params" string: ""; | ||
266 | value "any_mod" uchar: 1; | ||
267 | } | ||
268 | group "Elm_Config_Binding_Key" struct { | ||
269 | value "context" int: 0; | ||
270 | value "modifiers" string: "None"; | ||
271 | value "key" string: "space"; | ||
272 | value "action" string: "toggle"; | ||
273 | value "params" string: ""; | ||
274 | value "any_mod" uchar: 1; | ||
275 | } | ||
276 | } | ||
277 | } | ||
278 | } | ||
248 | } | 279 | } |