rpms/hplip/F-13 hplip-no-system-tray.patch, NONE, 1.1 hplip.spec, 1.275, 1.276
Jiří Popelka
jpopelka at fedoraproject.org
Wed May 12 08:26:39 UTC 2010
- Previous message: rpms/usbmuxd/devel .cvsignore, 1.8, 1.9 sources, 1.8, 1.9 usbmuxd.spec, 1.12, 1.13
- Next message: rpms/hplip/devel hplip-no-system-tray.patch, NONE, 1.1 hplip.spec, 1.274, 1.275
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jpopelka
Update of /cvs/pkgs/rpms/hplip/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv15865
Modified Files:
hplip.spec
Added Files:
hplip-no-system-tray.patch
Log Message:
* Wed May 12 2010 Jiri Popelka <jpopelka at redhat.com> - 3.10.2-14
- Wait for max 30s to see if a system tray becomes available (bug #569969).
hplip-no-system-tray.patch:
systemtray.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- NEW FILE hplip-no-system-tray.patch ---
diff -up hplip-3.10.2/ui4/systemtray.py.no-system-tray hplip-3.10.2/ui4/systemtray.py
--- hplip-3.10.2/ui4/systemtray.py.no-system-tray 2010-05-11 14:40:57.000000000 +0200
+++ hplip-3.10.2/ui4/systemtray.py 2010-05-11 15:25:20.000000000 +0200
@@ -74,6 +74,7 @@ HIDE_INACTIVE_DELAY = 5000
BLIP_DELAY = 2000
SET_MENU_DELAY = 1000
MAX_MENU_EVENTS = 10
+TRAY_AVAILABLE_DELAY = 30
ERROR_STATE_TO_ICON = {
ERROR_STATE_CLEAR: QSystemTrayIcon.Information,
@@ -707,7 +708,7 @@ def run(read_pipe):
app.setQuitOnLastWindowClosed(False) # If not set, settings dlg closes app
i = 0
- while i < 10:
+ while i < TRAY_AVAILABLE_DELAY:
if QSystemTrayIcon.isSystemTrayAvailable():
break
time.sleep(1.0)
Index: hplip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-13/hplip.spec,v
retrieving revision 1.275
retrieving revision 1.276
diff -u -p -r1.275 -r1.276
--- hplip.spec 28 Apr 2010 12:03:00 -0000 1.275
+++ hplip.spec 12 May 2010 08:26:39 -0000 1.276
@@ -1,7 +1,7 @@
Summary: HP Linux Imaging and Printing Project
Name: hplip
Version: 3.10.2
-Release: 13%{?dist}
+Release: 14%{?dist}
License: GPLv2+ and MIT
Group: System Environment/Daemons
Conflicts: system-config-printer < 0.6.132
@@ -31,6 +31,7 @@ Patch16: hplip-bad-low-ink-warning.patch
Patch17: hplip-deviceIDs-ppd.patch
Patch18: hplip-skip-blank-lines.patch
Patch19: hplip-dbglog-newline.patch
+Patch20: hplip-no-system-tray.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -193,6 +194,9 @@ done
# Added missing newline to string argument in dbglog() call (bug #585275).
%patch19 -p1 -b .dbglog-newline
+# Wait for max 30s to see if a system tray becomes available (bug #569969).
+%patch20 -p1 -b .no-system-tray
+
sed -i.duplex-constraints \
-e 's,\(UIConstraints.* \*Duplex\),//\1,' \
prnt/drv/hpcups.drv.in
@@ -414,6 +418,9 @@ fi
%{_bindir}/hpcups-update-ppds &>/dev/null ||:
%changelog
+* Wed May 12 2010 Jiri Popelka <jpopelka at redhat.com> - 3.10.2-14
+- Wait for max 30s to see if a system tray becomes available (bug #569969).
+
* Wed Apr 28 2010 Tim Waugh <twaugh at redhat.com> - 3.10.2-13
- Clear old printer-state-reasons we used to manage (bug #510926).
- Previous message: rpms/usbmuxd/devel .cvsignore, 1.8, 1.9 sources, 1.8, 1.9 usbmuxd.spec, 1.12, 1.13
- Next message: rpms/hplip/devel hplip-no-system-tray.patch, NONE, 1.1 hplip.spec, 1.274, 1.275
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list