summaryrefslogtreecommitdiff
path: root/net-print/hplip/files/hplip-3.9.12-systray.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/hplip/files/hplip-3.9.12-systray.patch')
-rw-r--r--net-print/hplip/files/hplip-3.9.12-systray.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-print/hplip/files/hplip-3.9.12-systray.patch b/net-print/hplip/files/hplip-3.9.12-systray.patch
new file mode 100644
index 00000000..0ae053fa
--- /dev/null
+++ b/net-print/hplip/files/hplip-3.9.12-systray.patch
@@ -0,0 +1,22 @@
+
+++ hplip-3.9.10/debian/patches/hplip-systray-longer-timeout-for-system-tray-start.dpatch
+
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## hplip-systray-longer-timeout-for-system-tray-start.dpatch by <till.kamppeter@gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad hplip-3.9.10~/ui4/systemtray.py hplip-3.9.10/ui4/systemtray.py
+--- hplip-3.9.10~/ui4/systemtray.py 2009-11-17 21:23:42.000000000 +0100
++++ hplip-3.9.10/ui4/systemtray.py 2009-11-29 21:34:01.399929476 +0100
+@@ -706,7 +706,7 @@
+ app.setQuitOnLastWindowClosed(False) # If not set, settings dlg closes app
+
+ i = 0
+- while i < 10:
++ while i < 180:
+ if QSystemTrayIcon.isSystemTrayAvailable():
+ break
+ time.sleep(1.0)