diff options
Diffstat (limited to 'debian/patches/gnome_3_34_fix.patch')
-rw-r--r-- | debian/patches/gnome_3_34_fix.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/debian/patches/gnome_3_34_fix.patch b/debian/patches/gnome_3_34_fix.patch new file mode 100644 index 0000000..1f2e1f0 --- /dev/null +++ b/debian/patches/gnome_3_34_fix.patch @@ -0,0 +1,39 @@ +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() { |