From affbec73ef29f84b9d3a9478f8bcc10affe488c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 19 Feb 2020 19:25:35 +0100 Subject: [PATCH] extensionPrefs: Fix more fallout from un-templating strings The version field in extension metadata is a number, so we cannot just use it as a string. ('creator' should be fine, but change it as well for the symmetry) https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1031 --- js/extensionPrefs/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/extensionPrefs/main.js b/js/extensionPrefs/main.js index 935ab0c69..1ae010b36 100644 --- a/js/extensionPrefs/main.js +++ b/js/extensionPrefs/main.js @@ -703,10 +703,10 @@ var ExtensionRow = GObject.registerClass({ this._updatesIcon.visible = this.hasUpdate; - this._versionLabel.label = this.version; + this._versionLabel.label = this.version.toString(); this._versionLabel.visible = this.version !== ''; - this._authorLabel.label = this.creator; + this._authorLabel.label = this.creator.toString(); this._authorLabel.visible = this.creator !== ''; }