[gnome-software] flatpak: Don't force DESKTOP kind for .flatpak bundles



commit 8128dd6155ecb86c4f5bc636d064f6664c5e79cb
Author: Kalev Lember <klember redhat com>
Date:   Fri Jan 4 19:56:55 2019 +0100

    flatpak: Don't force DESKTOP kind for .flatpak bundles
    
    This is already correctly set when we parse the ref kind.

 plugins/flatpak/gs-flatpak.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 569e8c56..5139b812 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -2343,7 +2343,6 @@ gs_flatpak_file_to_app_bundle (GsFlatpak *self,
                return g_steal_pointer (&app);
        }
        gs_flatpak_app_set_file_kind (app, GS_FLATPAK_APP_FILE_KIND_BUNDLE);
-       gs_app_set_kind (app, AS_APP_KIND_DESKTOP);
        gs_app_set_state (app, AS_APP_STATE_AVAILABLE_LOCAL);
        gs_app_set_size_installed (app, flatpak_bundle_ref_get_installed_size (xref_bundle));
        gs_flatpak_set_metadata (self, app, FLATPAK_REF (xref_bundle));


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