[gnome-software/gnome-40: 1/2] rpm-ostree: Hide only Web and Console applications from the search




commit 1278abcfb5726aa3f74961b8b1338c4025dbec49
Author: Milan Crha <mcrha redhat com>
Date:   Wed Apr 14 22:25:45 2021 +0200

    rpm-ostree: Hide only Web and Console applications from the search
    
    The desktop applications should be returned in the search, thus users
    can install them.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/613

 plugins/rpm-ostree/gs-plugin-rpm-ostree.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
index 4362415b1..43daf550c 100644
--- a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
+++ b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
@@ -1567,7 +1567,6 @@ resolve_available_packages_app (GsPlugin *plugin,
                /* set hide-from-search quirk for available apps we don't want to show */
                if (!gs_app_is_installed (app)) {
                        switch (gs_app_get_kind (app)) {
-                       case AS_COMPONENT_KIND_DESKTOP_APP:
                        case AS_COMPONENT_KIND_WEB_APP:
                        case AS_COMPONENT_KIND_CONSOLE_APP:
                                gs_app_add_quirk (app, GS_APP_QUIRK_HIDE_FROM_SEARCH);


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