[gnome-shell] extensionPrefs: Fix more fallout from un-templating strings



commit affbec73ef29f84b9d3a9478f8bcc10affe488c7
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Feb 19 19:25:35 2020 +0100

    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 935ab0c695..1ae010b361 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 !== '';
     }
 


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