From 13d29193d43e95e2cd813aef6dc06bf99b009db9 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Mon, 3 May 2010 20:01:55 +0000 Subject: [PATCH] restrict warning to case where really no plugins loaded SVN revision: 48591 --- src/modules/everything/evry_plug_aggregator.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/modules/everything/evry_plug_aggregator.c b/src/modules/everything/evry_plug_aggregator.c index 309baeacf..6275a82c7 100644 --- a/src/modules/everything/evry_plug_aggregator.c +++ b/src/modules/everything/evry_plug_aggregator.c @@ -134,8 +134,13 @@ _fetch(Evry_Plugin *plugin, const char *input) s = p->selector->state; if (!s || !s->cur_plugins) { - evry_item_ref(p->warning); - EVRY_PLUGIN_ITEM_APPEND(p, p->warning); + /* 'text' and 'actions' are always loaded */ + 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; }