summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2018-11-01 12:57:11 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2018-11-01 12:57:11 -0300
commit0375ce5be29a960b4e0cb701e5c8fe4bd888e7b6 (patch)
tree2d56f1b8e8d241eae2ad37b00e74cf21125dfd94
parentc3cff35f9d69c7c106d5d2d1fb2f65f01e8c02af (diff)
downloadgnome-control-center-gbsneto/early-exit.tar.gz
panel-loader: Remove OnlyShowIn checkgbsneto/early-exit
GNOME Settings does not run outside GNOME anymore, so checking this property of the .desktop files here is useless. The desktop files must continue having the OnlyShowIn key, since we don't want them to show on search of other desktop environments.
-rw-r--r--shell/cc-panel-loader.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c
index 6b5c6e3d0..ef50633a4 100644
--- a/shell/cc-panel-loader.c
+++ b/shell/cc-panel-loader.c
@@ -196,10 +196,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), all_panels[i].name);
}