Skip to content

Commit

Permalink
Merge branch 'release/version-19'
Browse files Browse the repository at this point in the history
  • Loading branch information
BigE committed Feb 16, 2017
2 parents 17f225f + ff00817 commit 6a76f42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions [email protected]/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ const DeskChangerIndicator = new Lang.Class({
Util.spawn(['gnome-shell-extension-prefs', Me.metadata.uuid]);
});
this.menu.addMenuItem(settings);

if (!this.daemon.is_running && this.settings.auto_start) {
// start the auto start goodness.
this.daemon.toggle();
}
},

destroy: function () {
Expand Down Expand Up @@ -181,6 +176,11 @@ function enable() {
error_id = daemon.connectSignal('error', function (emitter, signalName, parameters) {
Main.notifyError('Desk Changer', 'Daemon Error: ' + parameters[0]);
});

if (!daemon.is_running && settings.auto_start) {
// run if auto start is enabled and its not already running
daemon.toggle();
}
}

function init() {
Expand Down
2 changes: 1 addition & 1 deletion [email protected]/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
],
"url": "https://github.com/BigE/desk-changer/",
"uuid": "[email protected]",
"version": "18"
"version": "19"
}
Binary file modified [email protected]/schemas/gschemas.compiled
Binary file not shown.

0 comments on commit 6a76f42

Please sign in to comment.