evry: select first plugin on async update when the currently selected plugin has no items

- fixes browsing of folders from recent-files plugin


SVN revision: 53393
This commit is contained in:
Hannes Janetzek 2010-10-14 11:44:30 +00:00
parent 4eda754182
commit 6ca862968e
1 changed files with 2 additions and 1 deletions

View File

@ -649,7 +649,8 @@ evry_plugin_update(Evry_Plugin *p, int action)
_evry_aggregator_fetch(s);
/* select first plugin */
if ((!s->plugin) || (s->plugin_auto_selected))
if ((!s->plugin) || (s->plugin_auto_selected) ||
!(eina_list_data_find(s->cur_plugins, s->plugin)))
{
_evry_plugin_select(s, NULL);
}