summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:20:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:20:33 +0000
commit9d35babe751f746f57214520235df7bc3c4f499a (patch)
treee4af2313073776810a7d2c130b1b7c3252548a92 /debian/patches/progress-linux
parentUpdating vcs fields. (diff)
downloadgnome-shell-extension-impatience-9d35babe751f746f57214520235df7bc3c4f499a.tar.xz
gnome-shell-extension-impatience-9d35babe751f746f57214520235df7bc3c4f499a.zip
Allowing impatience to be enabled system-wide by default.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/progress-linux')
-rw-r--r--debian/patches/progress-linux/0001-default-enabled.patch17
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;
+ }