gconf-settings/skel/.local/share/gnome-shell/extensions/dash-to-dockmicxgx.gmail.com/extension.js
davedatum bdc807428d #
2019-10-26 21:50:28 +01:00

22 lines
502 B
JavaScript

// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
const ExtensionUtils = imports.misc.extensionUtils;
const Me = ExtensionUtils.getCurrentExtension();
const Docking = Me.imports.docking;
// We declare this with var so it can be accessed by other extensions in
// GNOME Shell 3.26+ (mozjs52+).
var dockManager;
function init() {
ExtensionUtils.initTranslations('dashtodock');
}
function enable() {
new Docking.DockManager();
}
function disable() {
dockManager.destroy();
}