amend hplip-notification-exception.patch (bug #859543).
This commit is contained in:
parent
ffcb74df1c
commit
c0b63f1be2
@ -1,22 +1,14 @@
|
|||||||
diff -up hplip-3.10.9/ui4/systemtray.py.notification-exception hplip-3.10.9/ui4/systemtray.py
|
diff -up hplip-3.12.9/ui4/systemtray.py.notification-exception hplip-3.12.9/ui4/systemtray.py
|
||||||
--- hplip-3.10.9/ui4/systemtray.py.notification-exception 2011-01-05 10:45:57.000000000 +0100
|
--- hplip-3.12.9/ui4/systemtray.py.notification-exception 2012-09-24 14:11:44.764151285 +0200
|
||||||
+++ hplip-3.10.9/ui4/systemtray.py 2011-01-05 12:34:18.000000000 +0100
|
+++ hplip-3.12.9/ui4/systemtray.py 2012-09-24 14:11:45.574138763 +0200
|
||||||
@@ -27,6 +27,7 @@ import os
|
@@ -761,7 +761,10 @@ class SystemTrayApp(QApplication):
|
||||||
import signal
|
|
||||||
import os.path
|
|
||||||
import time
|
|
||||||
+import gobject
|
|
||||||
|
|
||||||
|
|
||||||
# Local
|
|
||||||
@@ -662,7 +663,10 @@ class SystemTrayApp(QApplication):
|
|
||||||
else:
|
else:
|
||||||
n.set_timeout(TRAY_MESSAGE_DELAY)
|
n.set_timeout(TRAY_MESSAGE_DELAY)
|
||||||
|
|
||||||
- n.show()
|
- n.show()
|
||||||
+ try:
|
+ try:
|
||||||
+ n.show()
|
+ n.show()
|
||||||
+ except gobject.GError:
|
+ except:
|
||||||
+ log.error("Failed to show notification!")
|
+ log.error("Failed to show notification!")
|
||||||
|
|
||||||
else: # Use "standard" message bubbles
|
else: # Use "standard" message bubbles
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: HP Linux Imaging and Printing Project
|
Summary: HP Linux Imaging and Printing Project
|
||||||
Name: hplip
|
Name: hplip
|
||||||
Version: 3.12.9
|
Version: 3.12.9
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+ and MIT
|
License: GPLv2+ and MIT
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Conflicts: system-config-printer < 0.6.132
|
Conflicts: system-config-printer < 0.6.132
|
||||||
@ -532,6 +532,9 @@ fi
|
|||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 24 2012 Jiri Popelka <jpopelka@redhat.com> 3.12.9-3
|
||||||
|
- amend hplip-notification-exception.patch (bug #859543).
|
||||||
|
|
||||||
* Thu Sep 20 2012 Jiri Popelka <jpopelka@redhat.com> 3.12.9-2
|
* Thu Sep 20 2012 Jiri Popelka <jpopelka@redhat.com> 3.12.9-2
|
||||||
- Support IEEE 1284.4 protocol over USB (bug #858861).
|
- Support IEEE 1284.4 protocol over USB (bug #858861).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user