From f37c2c498632154c5c477d26c1fb7e8aed36956b Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Wed, 26 May 2010 23:28:01 +0000 Subject: [PATCH] sort command with params to front SVN revision: 49219 --- src/modules/everything-apps/e_mod_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/everything-apps/e_mod_main.c b/src/modules/everything-apps/e_mod_main.c index 5b1dfedd8..9c7d08bd1 100644 --- a/src/modules/everything-apps/e_mod_main.c +++ b/src/modules/everything-apps/e_mod_main.c @@ -211,7 +211,7 @@ _add_executables(Plugin *p, const char *input) } else if ((match = evry->fuzzy_match(file, input))) { - _item_exe_add(p, file, match); + _item_exe_add(p, file, match + 11); if (!strncmp(input, file, len)) found = 1; @@ -295,7 +295,7 @@ _fetch_exe(Evry_Plugin *plugin, const char *input) EVRY_ITEM_LABEL_SET(it, input); IF_RELEASE(p->command->file); p->command->file = eina_stringshare_ref(it->label); - it->fuzzy_match = 1; + it->fuzzy_match = 10; EVRY_PLUGIN_ITEM_APPEND(p, it); evry->item_changed(it, 0, 0); }