padOsd: Fix double styling

We set the StLabel style property, there's no need to re-apply the
large/bold text style via markup. Makes the StLabel text size consistent
across editable state changes.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1290
This commit is contained in:
Carlos Garnacho 2020-05-28 13:38:36 +02:00 committed by Florian Müllner
parent 04e8ebcb2d
commit b5591fef10

View File

@ -868,8 +868,7 @@ var PadOsd = GObject.registerClass({
this._tipLabel.set_text(_("Press any key to exit"));
}
this._titleLabel.clutter_text.set_markup(
'<span size="larger"><b>%s</b></span>'.format(title));
this._titleLabel.set_text(title);
}
_isEditedAction(type, number, dir) {