Skip to content

Commit

Permalink
Fix ubuntu dock check on 23.10
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesg99 committed Dec 3, 2023
1 parent f3369a0 commit 14fdcfe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export let EXTENSION_PATH = null;
export default class DashToPanelExtension extends Extension {
constructor(metadata) {
super(metadata);
console.log(`Initiating ${this.uuid}`);

this._realHasOverview = Main.sessionMode.hasOverview;

Expand Down Expand Up @@ -101,9 +100,9 @@ export default class DashToPanelExtension extends Extension {
}

function _enable(extension) {
let ubuntuDock = Main.extensionManager.lookup(UBUNTU_DOCK_UUID);
let ubuntuDock = extensionSystem.lookup(UBUNTU_DOCK_UUID);

if (ubuntuDock && ubuntuDock.stateObj && ubuntuDock.stateObj.dockManager) {
if (ubuntuDock && ubuntuDock.stateObj) {
// Disable Ubuntu Dock
let extensionOrder = (extensionSystem.extensionOrder || extensionSystem._extensionOrder);

Expand Down

0 comments on commit 14fdcfe

Please sign in to comment.