summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0001-default-enabled.patch
blob: 18dc95c357bf3a1da6196e932d64d69ff49d6a0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
 	}