[gnome-software] Ignore gnome-system-monitor-kde.desktop from the installed panel
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Ignore gnome-system-monitor-kde.desktop from the installed panel
- Date: Tue, 10 May 2016 16:07:19 +0000 (UTC)
commit 00a65da0e34d8ec53ea49993a5dad5a6c8c1d9ab
Author: Richard Hughes <richard hughsie com>
Date: Tue May 10 15:16:41 2016 +0100
Ignore gnome-system-monitor-kde.desktop from the installed panel
It has project_group=GNOME, OnlyShowIn=KDE and the same source file.
src/gs-plugin-loader.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 3190958..3813e70 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -579,6 +579,13 @@ gs_plugin_loader_app_is_valid_installed (GsApp *app, gpointer user_data)
default:
break;
}
+
+ /* ignore this crazy application */
+ if (g_strcmp0 (gs_app_get_id (app), "gnome-system-monitor-kde.desktop") == 0) {
+ g_debug ("Ignoring KDE version of %s", gs_app_get_id (app));
+ return FALSE;
+ }
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]