Skip to content

Commit

Permalink
Gnome 43 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDerumigny committed Nov 3, 2022
1 parent e9e89c0 commit 715aeda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"localedir": "/usr/local/share/locale",
"shell-version": [
"3.28", "3.30", "3.36", "3.38", "40", "41", "42"
"3.28", "3.30", "3.36", "3.38", "40", "41", "42", "43"
],
"uuid": "[email protected]",
"name": "CPU Power Manager",
Expand Down
2 changes: 1 addition & 1 deletion src/indicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ var CPUFreqIndicator = class CPUFreqIndicator extends baseindicator.CPUFreqBaseI
}

enable() {
this.power = Main.panel.statusArea["aggregateMenu"]._power;
this.power = imports.ui.main.panel.statusArea.quickSettings._system._systemItem._powerToggle;
this.powerState = this.power._proxy.State;
this.powerConnectSignalId = this.power._proxy.connect(
"g-properties-changed",
Expand Down

0 comments on commit 715aeda

Please sign in to comment.