Commit 60875cc4 authored by Robert Ancell's avatar Robert Ancell Committed by Georges Basile Stavracas Neto
Browse files

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

It was added in 3e04b1c5 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 a78cbe39, 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
parent a80bbdf1
Pipeline #153457 passed with stages
in 7 minutes and 27 seconds
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment