powerProfiles: Remove support for power-profiles-daemon < 0.9.0
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2101>
This commit is contained in:
parent
5b8a32ca71
commit
b83b22bc58
@ -101,10 +101,6 @@ class Indicator extends PanelMenu.SystemIndicator {
|
||||
: PopupMenu.Ornament.NONE);
|
||||
}
|
||||
|
||||
const perfItem = this._profileItems.get('performance');
|
||||
if (perfItem)
|
||||
perfItem.sensitive = this._proxy.PerformanceInhibited === '';
|
||||
|
||||
this._item.label.text = PROFILE_LABELS[this._proxy.ActiveProfile];
|
||||
this._item.icon.icon_name = PROFILE_ICONS[this._proxy.ActiveProfile];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user