[extensions-web] fsui: show all extensions if VersionValidationEnabled is disabled.
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] fsui: show all extensions if VersionValidationEnabled is disabled.
- Date: Sat, 25 Mar 2017 21:51:08 +0000 (UTC)
commit 6cd6de7913362f661823a09700b6b6fb775e67dc
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Sun Mar 26 01:46:08 2017 +0400
fsui: show all extensions if VersionValidationEnabled is disabled.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=779925
sweettooth/static/js/fsui.js | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/static/js/fsui.js b/sweettooth/static/js/fsui.js
index ec3282b..b665612 100644
--- a/sweettooth/static/js/fsui.js
+++ b/sweettooth/static/js/fsui.js
@@ -1,6 +1,7 @@
/*
GNOME Shell extensions repository
Copyright (C) 2012 Jasper St. Pierre <jstpierre mecheye net>
+ Copyright (C) 2017 Yuri Konotopov <ykonotopov gnome org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@@ -110,7 +111,14 @@ define(['jquery', 'dbus!_', 'hashParamUtils', 'modal'],
var shellVersion = hp.shell_version;
if (shellVersion === undefined)
{
- shellVersion = dbusProxy.ShellVersion;
+ if (dbusProxy.VersionValidationEnabled)
+ {
+ shellVersion = dbusProxy.ShellVersion;
+ }
+ else
+ {
+ shellVersion = 'all';
+ }
}
$fsui.append('<span>Compatible with</span>');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]