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:
DaPigGuy 2023-02-22 09:57:18 -08:00
parent 3017cc2157
commit ec50381f5c

View File

@ -316,7 +316,7 @@ class Indicator extends SystemIndicator {
const {powerToggle} = this._systemItem;
powerToggle.bind_property('label',
powerToggle.bind_property('title',
this._percentageLabel, 'text',
GObject.BindingFlags.SYNC_CREATE);