From 963f96292deb4907eead60c5e2c7326574c1f8d6 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 28 May 2020 13:38:36 +0200 Subject: [PATCH] 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 --- js/ui/padOsd.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js index d898c3560..221c8ddd6 100644 --- a/js/ui/padOsd.js +++ b/js/ui/padOsd.js @@ -868,8 +868,7 @@ var PadOsd = GObject.registerClass({ this._tipLabel.set_text(_("Press any key to exit")); } - this._titleLabel.clutter_text.set_markup( - '%s'.format(title)); + this._titleLabel.set_text(title); } _isEditedAction(type, number, dir) {