[gnome-software/1210-implement-gs_plugin_add_search_what_provides-in-flatpak: 386/387] Revert "rpm-ostree: Hide only Web and Console applications from the search"




commit 7667bb916408b61c4630837d4483be266bf6a799
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 6b1a13519..541b59f84 100644
--- a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
+++ b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
@@ -1598,6 +1598,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]