[gnome-software] trivial: Do not show system apps in the installed view



commit 35c364d539fc17cfe23a2018d094bc6ffc36eafe
Author: Richard Hughes <richard hughsie com>
Date:   Sat Feb 1 20:34:37 2014 +0000

    trivial: Do not show system apps in the installed view
    
    I don't know why we didn't need this before, but with the plugin deps work we
    started suddenly showing system applications. Filter them explicitly.

 src/gs-plugin-loader.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index abc83d2..48ff609 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -924,6 +924,7 @@ gs_plugin_loader_get_installed_thread_cb (GSimpleAsyncResult *res,
 
        /* filter package list */
        gs_plugin_list_filter (&state->list, gs_plugin_loader_app_is_valid, NULL);
+       gs_plugin_list_filter (&state->list, gs_plugin_loader_app_is_non_system, NULL);
        if (state->list == NULL) {
                g_set_error_literal (&error,
                                     GS_PLUGIN_LOADER_ERROR,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]