[gnome-software/wip/rancell/apt] 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/rancell/apt] Default app kind should be AS_APP_KIND_GENERIC
- Date: Thu, 7 Apr 2016 14:37:32 +0000 (UTC)
commit 3c69a9b0aff24347f948cf0d27b77f67e07e0f7c
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 702d7ab..8a80cda 100644
--- a/src/plugins/gs-plugin-apt.c
+++ b/src/plugins/gs-plugin-apt.c
@@ -825,6 +825,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]