[gnome-software/gnome-3-20] trivial: Fix launching installed web-apps



commit 32605753ccc6e23cb63ff0c416cb284aeee83416
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jul 5 13:23:55 2016 +0100

    trivial: Fix launching installed web-apps

 src/gs-plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-plugin.c b/src/gs-plugin.c
index 3957dad..44970db 100644
--- a/src/gs-plugin.c
+++ b/src/gs-plugin.c
@@ -346,7 +346,7 @@ gs_plugin_app_launch (GsPlugin *plugin, GsApp *app, GError **error)
        const gchar *desktop_id;
        g_autoptr(GAppInfo) appinfo = NULL;
 
-       desktop_id = gs_app_get_id (app);
+       desktop_id = gs_app_get_id_no_prefix (app);
        if (desktop_id == NULL) {
                g_set_error (error,
                             GS_PLUGIN_ERROR,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]