From: Hannes Janetzek Date: Tue, 30 Mar 2010 13:32:44 +0000 (+0000) Subject: 'everything' apps: remove uneeded filter X-Git-Tag: submit/efl/20131021.015651~7947 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c9333b24ac2c9585fb09dc42eadb11abcdded99;p=platform%2Fupstream%2Fenlightenment.git 'everything' apps: remove uneeded filter SVN revision: 47599 --- diff --git a/src/modules/everything/sources/evry_plug_apps.c b/src/modules/everything/sources/evry_plug_apps.c index 21136b5..1752fa9 100644 --- a/src/modules/everything/sources/evry_plug_apps.c +++ b/src/modules/everything/sources/evry_plug_apps.c @@ -444,28 +444,12 @@ _fetch(Evry_Plugin *plugin, const char *input) Eina_List *l, *ll; apps = efreet_util_desktop_name_glob_list("*"); - cat_ss = efreet_util_desktop_category_list("Screensaver"); + /* remove screensaver */ + cat_ss = efreet_util_desktop_category_list("Screensaver"); EINA_LIST_FOREACH(cat_ss, l, desktop) { - ll = eina_list_data_find_list(apps, desktop); - if (ll) - { - efreet_desktop_free(desktop); - apps = eina_list_remove_list(apps, ll); - } - } - cat_sys = efreet_util_desktop_category_list("System"); - cat_app = efreet_util_desktop_category_list("Applications"); - cat_set = efreet_util_desktop_category_list("Settings"); - - EINA_LIST_FOREACH(cat_sys, l, desktop) - { - if (eina_list_data_find_list(cat_set, desktop)) continue; - if (eina_list_data_find_list(cat_app, desktop)) continue; - - ll = eina_list_data_find_list(apps, desktop); - if (ll) + if ((ll = eina_list_data_find_list(apps, desktop))) { efreet_desktop_free(desktop); apps = eina_list_remove_list(apps, ll);