diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:03:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:03:41 +0000 |
commit | 7931728867c15c843ecff6103345f1ce47c12301 (patch) | |
tree | 221a23b4a2a12401abe1238d998507736427e3e3 /debian/patches/progress-linux/0001-default-enabled.patch | |
parent | Updating vcs fields. (diff) | |
download | gnome-shell-extension-impatience-7931728867c15c843ecff6103345f1ce47c12301.tar.xz gnome-shell-extension-impatience-7931728867c15c843ecff6103345f1ce47c12301.zip |
Allowing impatience to be enabled system-wide by default.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/progress-linux/0001-default-enabled.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-default-enabled.patch b/debian/patches/progress-linux/0001-default-enabled.patch new file mode 100644 index 0000000..18dc95c --- /dev/null +++ b/debian/patches/progress-linux/0001-default-enabled.patch @@ -0,0 +1,17 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Allowing impatience to be enabled system-wide by default. + +diff -Naurp gnome-shell-extension-impatience.orig/impatience/extension.js gnome-shell-extension-impatience/impatience/extension.js +--- gnome-shell-extension-impatience.orig/impatience/extension.js ++++ gnome-shell-extension-impatience/impatience/extension.js +@@ -44,10 +44,6 @@ Ext.prototype.disable = function() { + }; + + Ext.prototype.set_speed = function(new_speed) { +- if(!this.enabled) { +- LOG("NOT setting new speed, since the extension is disabled."); +- return; +- } + if(new_speed !== undefined) { + this.modified_speed = new_speed; + } |