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 989ee6593b
commit 963f96292d

View File

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