'evrything' cleanups

SVN revision: 46907
This commit is contained in:
Hannes Janetzek 2010-03-06 14:09:05 +00:00
parent 9e35127d35
commit f8be2bace0
2 changed files with 4 additions and 3 deletions

View File

@ -214,7 +214,7 @@ evry_history_add(Eina_Hash *hist, Evry_State *s, const char *ctxt)
if (!it) return;
id = (it->id ? it->id : it->label);
he = eina_hash_find(hist, id);
if (!he)
{
@ -264,7 +264,7 @@ evry_history_item_usage_set(Eina_Hash *hist, Evry_Item *it, const char *input, c
Eina_List *l;
it->usage = 0.0;
if (!(he = eina_hash_find(hist, (it->id ? it->id : it->label))))
return 0;

View File

@ -780,6 +780,7 @@ _init(void)
evry_action_register(act4, 4);
evry_action_register(act5, 5);
/*
Eina_List *l, *ll;
const char *file, *name;
History_Entry *he;
@ -787,7 +788,7 @@ _init(void)
name = EVRY_PLUGIN(p1)->name;
double t;
int found = 0;
/*
evry_history_load();
EINA_LIST_FOREACH(e_exehist_list_get(), l, file)