diff options
author | Hannes Janetzek <hannes.janetzek@gmail.com> | 2010-08-04 16:05:02 +0000 |
---|---|---|
committer | Hannes Janetzek <hannes.janetzek@gmail.com> | 2010-08-04 16:05:02 +0000 |
commit | f405dc931c1cee6af08c675aefdaf96c35181ade (patch) | |
tree | 8a4bcb69152b5a532e47d91fb3a4ff035b1d149b /src | |
parent | 81963af8d81ae506d782a9a8becbaf32ef789893 (diff) | |
download | enlightenment-f405dc931c1cee6af08c675aefdaf96c35181ade.tar.gz |
fixing sort order of executables: prefer .desktop when apps plugin is before exebuf
SVN revision: 50813
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/everything-apps/e_mod_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/everything-apps/e_mod_main.c b/src/modules/everything-apps/e_mod_main.c index 008550292a..a76d53dd7c 100644 --- a/src/modules/everything-apps/e_mod_main.c +++ b/src/modules/everything-apps/e_mod_main.c @@ -255,7 +255,8 @@ _fetch_exe(Evry_Plugin *plugin, const char *input) if (!strncmp(input, tmp, end)) { - if (query && (cnt++ < 50) && (len != tmp_len)) + if (query && (cnt++ < 50) && + (len != tmp_len)) _item_exe_add(p, tmp, 15); if (!min || tmp_len < min) @@ -278,7 +279,7 @@ _fetch_exe(Evry_Plugin *plugin, const char *input) EVRY_ITEM_LABEL_SET(it, file); IF_RELEASE(p->command->file); p->command->file = eina_stringshare_ref(it->label); - it->fuzzy_match = 10; + it->fuzzy_match = 11; // prefix match EVRY_PLUGIN_ITEM_APPEND(p, it); evry->item_changed(it, 0, 0); } |