calc: no time to fix bug. dont keep history for now

SVN revision: 49301
This commit is contained in:
Hannes Janetzek 2010-05-29 14:02:00 +00:00
parent ea715abe03
commit e651e0780e
1 changed files with 12 additions and 12 deletions

View File

@ -77,20 +77,20 @@ _cleanup(Evry_Plugin *p)
{ {
Ecore_Event_Handler *h; Ecore_Event_Handler *h;
Evry_Item *it; Evry_Item *it;
int items = 10; /* int items = 10; */
if (p->items) /* if (p->items)
{ * {
evry->item_free(p->items->data); * EVRY_ITEM_FREE(p->items->data);
p->items = eina_list_remove_list(p->items, p->items); * p->items = eina_list_remove_list(p->items, p->items);
} * } */
EINA_LIST_FREE(p->items, it) EINA_LIST_FREE(p->items, it)
{ {
if (items-- > 0) /* if (items-- > 1)
history = eina_list_prepend(history, eina_stringshare_add(it->label)); * history = eina_list_prepend(history, eina_stringshare_add(it->label)); */
evry->item_free(it); EVRY_ITEM_FREE(it);
} }
EINA_LIST_FREE(handlers, h) EINA_LIST_FREE(handlers, h)
@ -247,10 +247,10 @@ _plugins_init(const Evry_API *_api)
Plugin_Config *pc = _plug->config; Plugin_Config *pc = _plug->config;
pc->view_mode = VIEW_MODE_LIST; pc->view_mode = VIEW_MODE_LIST;
pc->trigger = eina_stringshare_add("="); pc->trigger = eina_stringshare_add("=");
/* pc->trigger_only = EINA_TRUE; */ pc->trigger_only = EINA_TRUE;
pc->aggregate = EINA_FALSE; pc->aggregate = EINA_FALSE;
pc->top_level = EINA_FALSE; /* pc->top_level = EINA_FALSE; */
pc->min_query = 3; /* pc->min_query = 3; */
} }
return EINA_TRUE; return EINA_TRUE;