[gnome-control-center/gbsneto/early-exit: 3/3] panel-loader: Remove OnlyShowIn check
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gbsneto/early-exit: 3/3] panel-loader: Remove OnlyShowIn check
- Date: Thu, 1 Nov 2018 15:59:05 +0000 (UTC)
commit 0375ce5be29a960b4e0cb701e5c8fe4bd888e7b6
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Nov 1 12:57:11 2018 -0300
panel-loader: Remove OnlyShowIn check
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.
shell/cc-panel-loader.c | 4 ----
1 file changed, 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]