forked from enlightenment/enlightenment
'evrything' module:
- really fix plugin_select.. SVN revision: 42002
This commit is contained in:
parent
21466a56ab
commit
3bda6d6735
|
@ -272,7 +272,7 @@ evry_item_new(Evry_Item *base, Evry_Plugin *p, const char *label, void (*cb_free
|
|||
|
||||
it->ref = 1;
|
||||
|
||||
item_cnt++;
|
||||
/* item_cnt++; */
|
||||
|
||||
return it;
|
||||
}
|
||||
|
@ -1796,14 +1796,10 @@ _evry_plugin_select(Evry_State *s, Evry_Plugin *p)
|
|||
}
|
||||
else s->plugin_auto_selected = EINA_FALSE;
|
||||
|
||||
if ((p || !s->plugin) && s->plugin != p)
|
||||
{
|
||||
if (s->plugin != p)
|
||||
_evry_item_desel(s, NULL);
|
||||
s->plugin = p;
|
||||
return;
|
||||
}
|
||||
|
||||
s->plugin = NULL;
|
||||
s->plugin = p;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue