[gnome-software] installed page: Only use the "Source: ..." tag to tell duplicates apart



commit 5beb4bb002253533de654fe464d210c2de93d4cc
Author: Kalev Lember <klember redhat com>
Date:   Fri Sep 28 11:43:06 2018 +0100

    installed page: Only use the "Source: ..." tag to tell duplicates apart
    
    Previously, we were showing the source tag for all 3rd party repos, but
    that added a lot of noise to the list. Instead, this changes it to only
    use it to tell apart apps that are duplicates, e.g. an app that's
    installed both from flatpak and distro package.

 src/gs-installed-page.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/gs-installed-page.c b/src/gs-installed-page.c
index 9cc17643..1a2a0037 100644
--- a/src/gs-installed-page.c
+++ b/src/gs-installed-page.c
@@ -188,8 +188,7 @@ gs_installed_page_add_app (GsInstalledPage *self, GsAppList *list, GsApp *app)
        app_row = gs_app_row_new (app);
        gs_app_row_set_show_folders (GS_APP_ROW (app_row), TRUE);
        gs_app_row_set_show_buttons (GS_APP_ROW (app_row), TRUE);
-       if (!gs_app_has_quirk (app, AS_APP_QUIRK_PROVENANCE) ||
-           gs_utils_list_has_app_fuzzy (list, app))
+       if (gs_utils_list_has_app_fuzzy (list, app))
                gs_app_row_set_show_source (GS_APP_ROW (app_row), TRUE);
        g_signal_connect (app_row, "button-clicked",
                          G_CALLBACK (gs_installed_page_app_remove_cb), self);


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