forked from enlightenment/enlightenment
restrict warning to case where really no plugins loaded
SVN revision: 48591
This commit is contained in:
parent
20dc27cb8a
commit
13d29193d4
|
@ -134,8 +134,13 @@ _fetch(Evry_Plugin *plugin, const char *input)
|
||||||
s = p->selector->state;
|
s = p->selector->state;
|
||||||
if (!s || !s->cur_plugins)
|
if (!s || !s->cur_plugins)
|
||||||
{
|
{
|
||||||
evry_item_ref(p->warning);
|
/* 'text' and 'actions' are always loaded */
|
||||||
EVRY_PLUGIN_ITEM_APPEND(p, p->warning);
|
if ((p->selector == selectors[0]) &&
|
||||||
|
(eina_list_count(s->plugins) == 2))
|
||||||
|
{
|
||||||
|
evry_item_ref(p->warning);
|
||||||
|
EVRY_PLUGIN_ITEM_APPEND(p, p->warning);
|
||||||
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue