[gnome-software/wip/temp/ubuntu-xenial-rebased: 263/326] Disable the Launch button for snappy apps
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 263/326] Disable the Launch button for snappy apps
- Date: Fri, 29 Apr 2016 10:09:27 +0000 (UTC)
commit f9425b5b3fd415b6d737e728e2b411c7abad3944
Author: William Hua <william hua canonical com>
Date: Sun Apr 17 22:09:00 2016 -0400
Disable the Launch button for snappy apps
src/gs-plugin-loader.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index d8caca6..287505d 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -432,7 +432,8 @@ gs_plugin_loader_app_is_valid (GsApp *app, gpointer user_data)
/* don't show unconverted packages in the application view */
if (((state->flags & GS_PLUGIN_REFINE_FLAGS_ALLOW_PACKAGES) == 0) &&
- (gs_app_get_kind (app) == AS_APP_KIND_GENERIC)) {
+ (gs_app_get_kind (app) == AS_APP_KIND_GENERIC) &&
+ (g_strcmp0 (gs_app_get_management_plugin (app), "snappy") != 0)) {
// g_debug ("app invalid as only a %s: %s",
// as_app_kind_to_string (gs_app_get_kind (app)),
// gs_plugin_loader_get_app_str (app));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]