shell: Don't use the OnlyShowIn/NotShowIn flags from desktop files to hide panels
It was added in3e04b1c53b
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 ina78cbe3963
, 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:
parent
a80bbdf1a0
commit
60875cc4f2
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue