You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/net-print/hplip/files/hplip-3.9.12-systray.patch

23 lines
795 B

++ 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)