From 9741813058336ed66791eb1efc7a54a70d136b2d Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sun, 13 May 2012 04:54:41 +0000 Subject: [PATCH] modules shouldnt ADD bindings all the time... leave that up to users. SVN revision: 70955 --- src/modules/gadman/e_mod_main.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/modules/gadman/e_mod_main.c b/src/modules/gadman/e_mod_main.c index 919b3d6e7..7cde5b41d 100644 --- a/src/modules/gadman/e_mod_main.c +++ b/src/modules/gadman/e_mod_main.c @@ -85,17 +85,6 @@ e_modapi_init(E_Module *m) "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(); return Man;