[gnome-software/gnome-3-22] shell-extensions: Use static URI to fetch extensions data



commit 9290e0c2e03077163c76f597947de614059e53b1
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Tue Apr 11 18:59:12 2017 -0400

    shell-extensions: Use static URI to fetch extensions data
    
    As requested by the extensions.gnome.org maintainer
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779591

 src/plugins/gs-plugin-shell-extensions.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/gs-plugin-shell-extensions.c b/src/plugins/gs-plugin-shell-extensions.c
index 03b6c34..f2e760f 100644
--- a/src/plugins/gs-plugin-shell-extensions.c
+++ b/src/plugins/gs-plugin-shell-extensions.c
@@ -635,11 +635,8 @@ gs_plugin_shell_extensions_get_apps (GsPlugin *plugin,
        }
 
        /* create the GET data */
-       uri = g_strdup_printf ("%s/extension-query/"
-                              "?shell_version=%s"
-                              "&page=1&n_per_page=1000",
-                              SHELL_EXTENSIONS_API_URI,
-                              priv->shell_version);
+       uri = g_strdup_printf ("%s/static/extensions.json",
+                              SHELL_EXTENSIONS_API_URI);
        data = gs_plugin_download_data (plugin, dummy, uri, cancellable, error);
        if (data == NULL)
                return NULL;


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