forked from enlightenment/enlightenment
'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:
parent
7cce1f09c2
commit
a9212e1ecf
|
@ -161,6 +161,8 @@ _action(Evry_Plugin *p, Evry_Item *it, const char *input)
|
||||||
if (app && app->file)
|
if (app && app->file)
|
||||||
input = app->file;
|
input = app->file;
|
||||||
|
|
||||||
|
if (!input || strlen(input) < 1) return EVRY_ACTION_CONTINUE;
|
||||||
|
|
||||||
desktop = efreet_desktop_empty_new("");
|
desktop = efreet_desktop_empty_new("");
|
||||||
if (strchr(input, '%'))
|
if (strchr(input, '%'))
|
||||||
{
|
{
|
||||||
|
@ -303,13 +305,13 @@ _fetch(Evry_Plugin *p, const char *input)
|
||||||
EINA_LIST_FREE(l, desktop)
|
EINA_LIST_FREE(l, desktop)
|
||||||
_item_add(p, desktop, NULL, 5);
|
_item_add(p, desktop, NULL, 5);
|
||||||
}
|
}
|
||||||
/* else if (!p->items)
|
else if (!p->items)
|
||||||
* {
|
{
|
||||||
* // TODO option for popular/recent
|
// TODO option for popular/recent
|
||||||
* l = e_exehist_list_get();
|
l = e_exehist_list_get();
|
||||||
* EINA_LIST_FREE(l, file)
|
EINA_LIST_FREE(l, file)
|
||||||
* _item_add(p, NULL, file, 1);
|
_item_add(p, NULL, file, 1);
|
||||||
* } */
|
}
|
||||||
|
|
||||||
if (inst->added)
|
if (inst->added)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue