From 85797c58f32d4aa4bb9f744584f35dfc2f0ea674 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Tue, 18 May 2010 12:19:02 +0000 Subject: [PATCH] evry_util_plugin_items_add: let plugin decide minimum input SVN revision: 48974 --- src/modules/everything/evry_util.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/modules/everything/evry_util.c b/src/modules/everything/evry_util.c index a21a608..dc334a0 100644 --- a/src/modules/everything/evry_util.c +++ b/src/modules/everything/evry_util.c @@ -365,6 +365,16 @@ evry_util_plugin_items_add(Evry_Plugin *p, Eina_List *items, const char *input, EINA_LIST_FOREACH(items, l, it) { + if (!input) + { + p->items = eina_list_append(p->items, it); + + if (set_usage) + evry_history_item_usage_set(it, NULL, NULL); + + continue; + } + it->fuzzy_match = evry_fuzzy_match(it->label, input); if (match_detail) -- 2.7.4