From 7931728867c15c843ecff6103345f1ce47c12301 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 17:03:41 +0200 Subject: Allowing impatience to be enabled system-wide by default. Signed-off-by: Daniel Baumann --- .../patches/progress-linux/0001-default-enabled.patch | 17 +++++++++++++++++ debian/patches/series | 1 + 2 files changed, 18 insertions(+) create mode 100644 debian/patches/progress-linux/0001-default-enabled.patch (limited to 'debian/patches') 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 +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; + } diff --git a/debian/patches/series b/debian/patches/series index e34612c..792cb45 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ gnome_3_34_fix.patch +progress-linux/0001-default-enabled.patch -- cgit v1.2.3