[gnome-software/wip/temp/ubuntu-xenial-rebased: 192/326] Default app kind should be AS_APP_KIND_GENERIC
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 192/326] Default app kind should be AS_APP_KIND_GENERIC
- Date: Fri, 29 Apr 2016 10:03:29 +0000 (UTC)
commit ea3eaa66db4903f67776d8d02cf97e1814e0c545
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]