forked from enlightenment/enlightenment
modules shouldnt ADD bindings all the time... leave that up to users.
SVN revision: 70955
This commit is contained in:
parent
da5c53c632
commit
9741813058
|
@ -85,17 +85,6 @@ e_modapi_init(E_Module *m)
|
||||||
"gadman_toggle", NULL, NULL, 0);
|
"gadman_toggle", NULL, NULL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create a binding for the action (if not exists) */
|
|
||||||
if (!e_bindings_key_get("gadman_toggle"))
|
|
||||||
{
|
|
||||||
e_managers_keys_ungrab();
|
|
||||||
e_bindings_key_add(E_BINDING_CONTEXT_ANY, "g", E_BINDING_MODIFIER_CTRL|E_BINDING_MODIFIER_ALT,
|
|
||||||
0, "gadman_toggle", NULL);
|
|
||||||
|
|
||||||
e_managers_keys_grab();
|
|
||||||
e_config_save_queue();
|
|
||||||
}
|
|
||||||
|
|
||||||
gadman_update_bg();
|
gadman_update_bg();
|
||||||
|
|
||||||
return Man;
|
return Man;
|
||||||
|
|
Loading…
Reference in New Issue