[gnome-software/gnome-3-24] shell-extensions: Use static URI to fetch extensions data
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-24] shell-extensions: Use static URI to fetch extensions data
- Date: Thu, 4 May 2017 10:36:30 +0000 (UTC)
commit e950bb434d6c1c30f088d213d7eff896781444c9
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
.../shell-extensions/gs-plugin-shell-extensions.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/plugins/shell-extensions/gs-plugin-shell-extensions.c
b/plugins/shell-extensions/gs-plugin-shell-extensions.c
index 9abc3e5..a9f1c6a 100644
--- a/plugins/shell-extensions/gs-plugin-shell-extensions.c
+++ b/plugins/shell-extensions/gs-plugin-shell-extensions.c
@@ -655,11 +655,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) {
gs_utils_error_add_unique_id (error, priv->cached_origin);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]