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
This commit is contained in:
parent
e781e1fdba
commit
affbec73ef
@ -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 !== '';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user