shell: Don't use the OnlyShowIn/NotShowIn flags from desktop files to hide panels

It was added in 3e04b1c53b to allow downstreams to hide panels that don't make
sense in their environment. Later on the ability for panels to hide themselves
was added in a78cbe3963, which is a better solution for this case.

The current situation is confusing if you are not a known environment, as then no
panels show.

Fixes #163
This commit is contained in:
Robert Ancell 2020-02-11 09:51:30 +13:00 committed by Georges Basile Stavracas Neto
parent a80bbdf1a0
commit 60875cc4f2

View file

@ -257,10 +257,6 @@ cc_panel_loader_fill_model (CcShellModel *model)
if (G_UNLIKELY (category < 0))
continue;
/* Consult OnlyShowIn/NotShowIn for desktop environments */
if (!g_desktop_app_info_get_show_in (app, NULL))
continue;
cc_shell_model_add_item (model, category, G_APP_INFO (app), panels_vtable[i].name);
}