Gnome 43 support

This commit is contained in:
Nathaniel van Diepen 2022-11-20 17:42:12 -07:00 committed by GitHub
parent d2701366b1
commit 610e47e886
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,8 +4,8 @@ const Panel = imports.ui.main.panel;
class BaTimeExtension {
constructor() {
this.aggregateMenu = Panel.statusArea['aggregateMenu'];
this.originalIndicator = this.aggregateMenu._power;
this.aggregateMenu = Panel.statusArea['quickSettings'];
this.originalIndicator = this.aggregateMenu._system;
this.customIndicator = new BaTime.imports.power.Indicator();
this.aggregateMenu._indicators.replace_child(
this.originalIndicator,