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




commit 219f3e5e36800b11c476bcc86e72a209785936c3
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jul 12 14:54:26 2021 +0200

    Revert "rpm-ostree: Hide only Web and Console applications from the search"
    
    This reverts commit ef67695cb2e20f0cb1cfcd8965173226dd755b09.
    
    The correct fix for https://gitlab.gnome.org/GNOME/gnome-software/-/issues/613
    is https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1210

 plugins/rpm-ostree/gs-plugin-rpm-ostree.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
index fb96dd52b..8ba3dc37d 100644
--- a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
+++ b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
@@ -1573,6 +1573,7 @@ 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]