[gnome-software/wip/rancell/apt] Set the kind of app to generic for sideloaded debs
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/apt] Set the kind of app to generic for sideloaded debs
- Date: Tue, 29 Mar 2016 15:09:02 +0000 (UTC)
commit 4aef7d843604d348493b9594d89bb0b978a6e37d
Author: William Hua <william hua canonical com>
Date: Tue Mar 29 11:02:19 2016 -0400
Set the kind of app to generic for sideloaded debs
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 d5c54f1..d9af67a 100644
--- a/src/plugins/gs-plugin-apt.c
+++ b/src/plugins/gs-plugin-apt.c
@@ -969,6 +969,7 @@ gs_plugin_filename_to_app (GsPlugin *plugin,
gs_app_set_management_plugin (app, "dpkg");
gs_app_add_source (app, tokens[0]);
gs_app_set_origin (app, path);
+ gs_app_set_kind (app, AS_APP_KIND_GENERIC);
gs_plugin_add_app (list, app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]