[gnome-software] When 'installing' webapps from the AppStream metadata, add to the installed list



commit 39f759303a89b30386321494c55bf099d2f5d3fa
Author: Richard Hughes <richard hughsie com>
Date:   Sat Oct 19 09:44:23 2013 +0100

    When 'installing' webapps from the AppStream metadata, add to the installed list

 src/plugins/gs-plugin-epiphany.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-epiphany.c b/src/plugins/gs-plugin-epiphany.c
index 1e83d48..71f7255 100644
--- a/src/plugins/gs-plugin-epiphany.c
+++ b/src/plugins/gs-plugin-epiphany.c
@@ -599,6 +599,9 @@ gs_plugin_refine_app (GsPlugin *plugin, GsApp *app, GError **error)
        if (!ret)
                goto out;
        gs_app_set_metadata (app, "Epiphany::desktop-filename", path);
+
+       /* we now know about this */
+       gs_plugin_add_app (&plugin->priv->list, app);
 out:
        g_free (hash);
        g_free (path);


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