export panelBoxes and fix its import

This commit is contained in:
Philipp Unger
2023-08-19 14:03:05 +02:00
parent e97e5b111a
commit ef733f33f5
2 changed files with 2 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ const Mainloop = imports.mainloop;
const Gi = imports._gi;
let tracker = Shell.WindowTracker.get_default();
var panelBoxes = ['_leftBox', '_centerBox', '_rightBox'];
export var panelBoxes = ['_leftBox', '_centerBox', '_rightBox'];
//timeout names
const T2 = 'startIntellihideTimeout';

View File

@@ -29,7 +29,6 @@
import * as Overview from './overview.js';
import * as Panel from './panel.js';
import * as panelBoxes from './panel.js';
import * as PanelSettings from './panelSettings.js';
import * as Proximity from './proximity.js';
import * as Taskbar from './taskbar.js';
@@ -203,7 +202,7 @@ export var PanelManager = class {
]
);
panelBoxes.forEach(c => this._signalsHandler.add(
Panel.panelBoxes.forEach(c => this._signalsHandler.add(
[
Main.panel[c],
'actor-added',