#
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// -*- 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();
|
||||
}
|
Reference in New Issue
Block a user