[gnome-software/wip/kalev/gnome-3-22: 92/96] trivial: Show flatpakrefs as having a built-in source



commit 5cda81195c682a5c914e3400117460035f05ff32
Author: Richard Hughes <richard hughsie com>
Date:   Mon Feb 27 20:46:06 2017 +0000

    trivial: Show flatpakrefs as having a built-in source

 src/plugins/gs-flatpak.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index 23ebf64..e1287de 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -2852,6 +2852,7 @@ gs_flatpak_file_to_app_ref (GsFlatpak *self,
 
        /* load metadata */
        app = gs_flatpak_create_app (self, FLATPAK_REF (xref));
+       gs_app_add_quirk (app, AS_APP_QUIRK_HAS_SOURCE);
        gs_app_set_flatpak_file_type (app, "flatpakref");
        gs_app_set_kind (app, AS_APP_KIND_DESKTOP);
        gs_app_set_state (app, AS_APP_STATE_AVAILABLE_LOCAL);


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