'everything' module:

- enable app history again and added fix to not screw it up anymore. 
  maybe e_exehist_add should check that a valid entry is produced before adding it.
  ei->exe was NULL in e_exehist_sorted_list_get. need to track it down further..


SVN revision: 41357
This commit is contained in:
Hannes Janetzek 2009-07-15 23:14:53 +00:00
parent 7cce1f09c2
commit a9212e1ecf
1 changed files with 9 additions and 7 deletions

View File

@ -161,6 +161,8 @@ _action(Evry_Plugin *p, Evry_Item *it, const char *input)
if (app && app->file)
input = app->file;
if (!input || strlen(input) < 1) return EVRY_ACTION_CONTINUE;
desktop = efreet_desktop_empty_new("");
if (strchr(input, '%'))
{
@ -303,13 +305,13 @@ _fetch(Evry_Plugin *p, const char *input)
EINA_LIST_FREE(l, desktop)
_item_add(p, desktop, NULL, 5);
}
/* else if (!p->items)
* {
* // TODO option for popular/recent
* l = e_exehist_list_get();
* EINA_LIST_FREE(l, file)
* _item_add(p, NULL, file, 1);
* } */
else if (!p->items)
{
// TODO option for popular/recent
l = e_exehist_list_get();
EINA_LIST_FREE(l, file)
_item_add(p, NULL, file, 1);
}
if (inst->added)
{