[gnome-shell/wip/hadess/remove-ppd-0.8: 148/148] powerProfiles: Remove support for power-profiles-daemon < 0.9.0
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-shell/wip/hadess/remove-ppd-0.8: 148/148] powerProfiles: Remove support for power-profiles-daemon < 0.9.0
- Date: Tue,  8 Feb 2022 11:21:46 +0000 (UTC)
commit 87dfd8e3d2b75279dd0181866d7d68642cbda2ad
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jan 14 12:27:57 2022 +0100
    powerProfiles: Remove support for power-profiles-daemon < 0.9.0
 js/ui/status/powerProfiles.js | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/js/ui/status/powerProfiles.js b/js/ui/status/powerProfiles.js
index 61205bbc60..cc870fccf8 100644
--- a/js/ui/status/powerProfiles.js
+++ b/js/ui/status/powerProfiles.js
@@ -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];
     }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]