[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 192/331]	Default app kind should be AS_APP_KIND_GENERIC
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 192/331]	Default app kind should be AS_APP_KIND_GENERIC
- Date: Wed,  4 May 2016 14:14:40 +0000 (UTC)
commit a4264562828b7b905ec431c6bfd2eb5ef9f54c98
Author: William Hua <william hua canonical com>
Date:   Thu Apr 7 15:36:42 2016 +0100
    Default app kind should be AS_APP_KIND_GENERIC
    
    This is so that they show up in OS Updates.
 src/plugins/gs-plugin-apt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.c b/src/plugins/gs-plugin-apt.c
index 8b168e0..888aac1 100644
--- a/src/plugins/gs-plugin-apt.c
+++ b/src/plugins/gs-plugin-apt.c
@@ -845,6 +845,7 @@ gs_plugin_add_updates (GsPlugin *plugin,
                app = gs_app_new (info->name);
                // FIXME: Since appstream marks all packages as owned by PackageKit and we are replacing 
PackageKit we need to accept those packages
                gs_app_set_management_plugin (app, "PackageKit");
+               gs_app_set_kind (app, AS_APP_KIND_GENERIC);
                gs_app_add_source (app, info->name);
                gs_plugin_add_app (list, app);
        }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]