status/system: Fix missing battery percentage in the top bar
The percentage label text was bound to the 'label' property, which was renamed to 'title' in GNOME 44 with the quick settings changes. This was missed. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2657>
This commit is contained in:
@ -316,7 +316,7 @@ class Indicator extends SystemIndicator {
|
|||||||
|
|
||||||
const {powerToggle} = this._systemItem;
|
const {powerToggle} = this._systemItem;
|
||||||
|
|
||||||
powerToggle.bind_property('label',
|
powerToggle.bind_property('title',
|
||||||
this._percentageLabel, 'text',
|
this._percentageLabel, 'text',
|
||||||
GObject.BindingFlags.SYNC_CREATE);
|
GObject.BindingFlags.SYNC_CREATE);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user