everything text plugin: only create item, when there is input

SVN revision: 45808
This commit is contained in:
Hannes Janetzek 2010-02-02 16:15:51 +00:00
parent e609c39dbc
commit 8935019960
1 changed files with 9 additions and 5 deletions

View File

@ -18,11 +18,15 @@ _fetch(Evry_Plugin *p, const char *input)
EVRY_PLUGIN_ITEMS_FREE(p); EVRY_PLUGIN_ITEMS_FREE(p);
it = evry_item_new(NULL, p, input, NULL); if (input)
{
it = evry_item_new(NULL, p, input, NULL);
EVRY_PLUGIN_ITEM_APPEND(p, it);
EVRY_PLUGIN_ITEM_APPEND(p, it); return 1;
}
return 1; return 0;
} }
static Eina_Bool static Eina_Bool