From: | "Pacho Ramos (pacho)" <pacho@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-print/hplip/files: hplip-3.9.12-systray.patch |
Date: | Sat, 02 Jan 2010 19:38:11 |
Message-Id: | E1NR9nc-0001sL-7v@stork.gentoo.org |
1 | pacho 10/01/02 19:38:08 |
2 | |
3 | Added: hplip-3.9.12-systray.patch |
4 | Log: |
5 | Fix hp-systray giving up on slow machines |
6 | (Portage version: 2.1.7.15/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-print/hplip/files/hplip-3.9.12-systray.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/files/hplip-3.9.12-systray.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/files/hplip-3.9.12-systray.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: hplip-3.9.12-systray.patch |
15 | =================================================================== |
16 | |
17 | ++ hplip-3.9.10/debian/patches/hplip-systray-longer-timeout-for-system-tray-start.dpatch |
18 | |
19 | #! /bin/sh /usr/share/dpatch/dpatch-run |
20 | ## hplip-systray-longer-timeout-for-system-tray-start.dpatch by <till.kamppeter@×××××.com> |
21 | ## |
22 | ## All lines beginning with `## DP:' are a description of the patch. |
23 | ## DP: No description. |
24 | |
25 | @DPATCH@ |
26 | diff -urNad hplip-3.9.10~/ui4/systemtray.py hplip-3.9.10/ui4/systemtray.py |
27 | --- hplip-3.9.10~/ui4/systemtray.py 2009-11-17 21:23:42.000000000 +0100 |
28 | +++ hplip-3.9.10/ui4/systemtray.py 2009-11-29 21:34:01.399929476 +0100 |
29 | @@ -706,7 +706,7 @@ |
30 | app.setQuitOnLastWindowClosed(False) # If not set, settings dlg closes app |
31 | |
32 | i = 0 |
33 | - while i < 10: |
34 | + while i < 180: |
35 | if QSystemTrayIcon.isSystemTrayAvailable(): |
36 | break |
37 | time.sleep(1.0) |