diff --git a/DesktopCube@yare/CHANGELOG.md b/DesktopCube@yare/CHANGELOG.md index c5af0bf0..682c83e2 100644 --- a/DesktopCube@yare/CHANGELOG.md +++ b/DesktopCube@yare/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.0.1 + +* Adde ability to work correctly with the smart-panel extension. + ## 2.0.0 * Added ability to use Cube effect when changing the workspace via the "Workspace Switcher" applet diff --git a/DesktopCube@yare/files/DesktopCube@yare/5.4/extension.js b/DesktopCube@yare/files/DesktopCube@yare/5.4/extension.js index db4e33a0..e14d9739 100644 --- a/DesktopCube@yare/files/DesktopCube@yare/5.4/extension.js +++ b/DesktopCube@yare/files/DesktopCube@yare/5.4/extension.js @@ -12,6 +12,8 @@ const Settings = imports.ui.settings; const Util = imports.misc.util; // Needed for spawnCommandLine() const SignalManager = imports.misc.signalManager; +const UUID = "DesktopCube@yare"; + let enabled; let settings; let signalManager; @@ -30,6 +32,7 @@ const isFinalized = function(obj) { } const setPanelsOpacity = function(opacity) { + //~ global.log("setPanelsOpacity: "+opacity); let panels = Main.getPanels(); for (let i = 0; i < panels.length; i++) { if (!panels[i]) continue; @@ -64,6 +67,7 @@ Cube.prototype = { this.destroy_requested = false; this.transitions = []; // An array of Meta.MotionDirection values for each face transiation that is queued up this.firstRotate = true; + settings = new CubeSettings(UUID); this.pullaway = (100-settings.pullawayPercent)/100/2; if (faces === undefined) diff --git a/DesktopCube@yare/files/DesktopCube@yare/metadata.json b/DesktopCube@yare/files/DesktopCube@yare/metadata.json index 0f27b78a..d318a444 100644 --- a/DesktopCube@yare/files/DesktopCube@yare/metadata.json +++ b/DesktopCube@yare/files/DesktopCube@yare/metadata.json @@ -20,5 +20,6 @@ "uuid": "DesktopCube@yare", "name": "Desktop Cube", "description": "Compiz Cube-like animation for workspace switching", - "url": "http://cinnamon-spices.linuxmint.com/" + "url": "http://cinnamon-spices.linuxmint.com/extensions/view/68", + "author": "klangman" }