fix imports with {}

This commit is contained in:
Philipp Unger
2023-08-13 03:25:09 +02:00
parent 6f5a2e0f19
commit 950c1aaa4b
3 changed files with 7 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ import * as ExtensionUtils from 'resource:///org/gnome/shell/misc/extensionUtils
const Mainloop = imports.mainloop;
const Signals = imports.signals;
import { PanelManager } from './panelManager.js';
import * as PanelManager from './panelManager.js';
import * as Utils from './utils.js';
import * as AppIcons from './appIcons.js';

View File

@@ -34,10 +34,11 @@ import GObject from 'gi://GObject';
const Gi = imports._gi;
import * as AppIcons from './appIcons.js';
import * as Utils from './utils.js';
import { Taskbar, TaskbarItemContainer } from './taskbar.js';
import * as Taskbar from './taskbar.js';
import * as TaskbarItemContainer from './taskbar.js';
import * as Pos from './panelPositions.js';
import * as PanelSettings from './panelSettings.js';
import { PanelStyle } from './panelStyle.js';
import * as PanelStyle from './panelStyle.js';
import * as Main from 'resource:///org/gnome/shell/ui/main.js';
const Mainloop = imports.mainloop;
import * as Dash from 'resource:///org/gnome/shell/ui/dash.js';

View File

@@ -27,8 +27,9 @@
* Some code was also adapted from the upstream Gnome Shell source code.
*/
import { Overview } from './overview.js';
import { Panel, panelBoxes } from './panel.js';
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';