panel: fix size of battery percentage label
Adjust the label of the (optional) battery percentage in the top bar to have the same size as all other text in the top bar. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2652
This commit is contained in:
parent
6508fa4349
commit
8c909e37e9
@ -139,7 +139,7 @@ class Indicator extends PanelMenu.SystemIndicator {
|
||||
label = _("%d\u2009%%").format(100);
|
||||
else
|
||||
label = _("%d\u2009%%").format(this._proxy.Percentage);
|
||||
this._percentageLabel.clutter_text.set_markup('<span size="smaller">' + label + '</span>');
|
||||
this._percentageLabel.text = label;
|
||||
|
||||
// The status label
|
||||
this._item.label.text = this._getStatus();
|
||||
|
Loading…
Reference in New Issue
Block a user