summaryrefslogtreecommitdiff
path: root/net-print/hplip/files/hplip-3.9.12-systray.patch
blob: 0ae053fa7fa2a5bb13fd6a6e4b98a481b16e48d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)