Index: gnome-shell-extension-impatience/impatience/extension.js =================================================================== --- gnome-shell-extension-impatience.orig/impatience/extension.js +++ gnome-shell-extension-impatience/impatience/extension.js @@ -8,7 +8,6 @@ const Settings = Extension.imports.setti function LOG(m){ global.log("[impatience] " + m); - log("[impatience] " + m); }; function Ext() { this._init.apply(this, arguments); @@ -18,7 +17,7 @@ var noop = function() {}; Ext.prototype = {}; Ext.prototype._init = function() { this.enabled = false; - this.original_speed = St.get_slow_down_factor(); + this.original_speed = St.Settings.get().slow_down_factor; this.modified_speed = DEFAULT_SPEED; this.unbind = noop; }; @@ -40,7 +39,7 @@ Ext.prototype.enable = function() { Ext.prototype.disable = function() { this.enabled = false; this.unbind(); - St.set_slow_down_factor(this.original_speed); + St.Settings.get().slow_down_factor = this.original_speed; }; Ext.prototype.set_speed = function(new_speed) { @@ -52,7 +51,7 @@ Ext.prototype.set_speed = function(new_s this.modified_speed = new_speed; } LOG("setting new speed: " + this.modified_speed); - St.set_slow_down_factor(this.modified_speed); + St.Settings.get().slow_down_factor = this.modified_speed; }; function init() {