From 217816da8d751d2ad3bc1826b3559cba5967fa5b Mon Sep 17 00:00:00 2001 From: Philipp Unger Date: Sun, 20 Aug 2023 19:18:14 +0200 Subject: [PATCH] update ActivitiesButton access in panel --- panel.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/panel.js b/panel.js index 434041c..abfdb97 100644 --- a/panel.js +++ b/panel.js @@ -41,7 +41,6 @@ import * as PanelStyle from './panelStyle.js'; import * as Main from 'resource:///org/gnome/shell/ui/main.js'; import * as Dash from 'resource:///org/gnome/shell/ui/dash.js'; import * as CtrlAltTab from 'resource:///org/gnome/shell/ui/ctrlAltTab.js'; -import * as GSPanel from 'resource:///org/gnome/shell/ui/panel.js'; import * as PanelMenu from 'resource:///org/gnome/shell/ui/panelMenu.js'; import St from 'gi://St'; import GLib from 'gi://GLib'; @@ -126,7 +125,7 @@ export var Panel = GObject.registerClass({ this._setPanelMenu(systemMenuInfo.name, systemMenuInfo.constructor, this.panel); this._setPanelMenu('dateMenu', DateMenu.DateMenuButton, this.panel); - this._setPanelMenu('activities', GSPanel.ActivitiesButton, this.panel); + this._setPanelMenu('activities', Main.panel.statusArea.activities.constructor, this.panel); this.panel.add_child(this._leftBox); this.panel.add_child(this._centerBox);