[gnome-shell/wip/carlosg/pad-osd-fixes: 3/12] padOsd: Fix double styling
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/pad-osd-fixes: 3/12] padOsd: Fix double styling
- Date: Fri, 29 May 2020 15:40:59 +0000 (UTC)
commit c9e834de9ea5b1da591213553556edfa40602fa1
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 d898c3560c..11e4e2486b 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]