Commit dba6dd9e authored by Richard Hughes's avatar Richard Hughes

trivial: Never show gnome-system-monitor-kde in any search result

Fixes GNOME/gnome-software#301
parent 1d8b3561
......@@ -1220,12 +1220,6 @@ gs_plugin_loader_app_is_valid_installed (GsApp *app, gpointer user_data)
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;
}
/* sanity check */
if (!gs_app_is_installed (app)) {
g_autofree gchar *tmp = gs_app_to_string (app);
......@@ -1318,6 +1312,12 @@ gs_plugin_loader_app_is_valid (GsApp *app, gpointer user_data)
gs_plugin_loader_get_app_str (app));
return FALSE;
}
/* 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;
}
......
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