extensionPrefs: Stop escaping extension name

The corresponding label no longer uses markup, so we can and should use
the unescaped name.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2305
This commit is contained in:
Florian Müllner 2020-03-04 00:26:04 +01:00 committed by Florian Müllner
parent 3155d03d9e
commit 3d443d5b17

View File

@ -633,8 +633,7 @@ var ExtensionRow = GObject.registerClass({
});
this._actionGroup.add_action(action);
let name = GLib.markup_escape_text(this.name, -1);
this._nameLabel.label = name;
this._nameLabel.label = this.name;
let desc = this._extension.metadata.description.split('\n')[0];
this._descriptionLabel.label = desc;