[gnome-shell/gnome-3-36] padOsd: Fix double styling



commit b5591fef1057f6ee31ce9d4d0e2fc8d691a5e3c7
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu May 28 13:38:36 2020 +0200

    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 38b6005b22..11701e4b24 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(
-            '<span size="larger"><b>%s</b></span>'.format(title));
+        this._titleLabel.set_text(title);
     }
 
     _isEditedAction(type, number, dir) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]