From 866a59dc8654c8bd4aad2b3e483719f6b8922457 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Wed, 19 Aug 2009 00:45:10 +0000 Subject: [PATCH] =?UTF-8?q?'everything'=20module:=20not=20sure=20if=20it's?= =?UTF-8?q?=20a=20bug=20in=20e's=20keybindings=20conf=20but=20this=20works?= =?UTF-8?q?=20around=20the=20problem=CF=86changing=20a=20predef=20action?= =?UTF-8?q?=20with=20params=20to=20one=20that=20has=20NULL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN revision: 41866 --- src/modules/everything/e_mod_main.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/modules/everything/e_mod_main.c b/src/modules/everything/e_mod_main.c index 9ead622c9..e7e3cd952 100644 --- a/src/modules/everything/e_mod_main.c +++ b/src/modules/everything/e_mod_main.c @@ -126,7 +126,7 @@ e_modapi_init(E_Module *m) } e_action_predef_name_set(_("Everything"), _("Show Everything Dialog"), - "everything", NULL, NULL, 0); + "everything", "", NULL, 0); maug = e_int_menus_menu_augmentation_add("main/1", _e_mod_menu_add, NULL, NULL, NULL); @@ -218,7 +218,12 @@ _e_mod_action_exebuf_cb(E_Object *obj, const char *params) } if (!zone) zone = e_util_zone_current_get(e_manager_current_get()); - if (zone) evry_show(zone, params); + if (!zone) return; + + if (params && params[0]) + evry_show(zone, params); + else + evry_show(zone, NULL); } /* menu item callback(s) */