[gnome-software] trivial: Mark PackageKit sources as non-launchable
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Mark PackageKit sources as non-launchable
- Date: Tue, 12 Sep 2017 15:55:34 +0000 (UTC)
commit 8c0a046a131d7cd6200d7cb0ec21bc1d3bde9a0d
Author: Richard Hughes <richard hughsie com>
Date: Tue Sep 12 16:05:52 2017 +0100
trivial: Mark PackageKit sources as non-launchable
plugins/packagekit/gs-plugin-packagekit.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/packagekit/gs-plugin-packagekit.c b/plugins/packagekit/gs-plugin-packagekit.c
index 97ba9de..7978ba1 100644
--- a/plugins/packagekit/gs-plugin-packagekit.c
+++ b/plugins/packagekit/gs-plugin-packagekit.c
@@ -205,6 +205,7 @@ gs_plugin_add_sources (GsPlugin *plugin,
app = gs_app_new (id);
gs_app_set_management_plugin (app, gs_plugin_get_name (plugin));
gs_app_set_kind (app, AS_APP_KIND_SOURCE);
+ gs_app_add_quirk (app, AS_APP_QUIRK_NOT_LAUNCHABLE);
gs_app_set_state (app, pk_repo_detail_get_enabled (rd) ?
AS_APP_STATE_INSTALLED : AS_APP_STATE_AVAILABLE);
gs_app_set_name (app,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]