Accepting request 533763 from home:mgorse:branches:Printing
- Add no-systray-failure-message.patch: don't display an error if unable to find a system tray (boo#1061211). OBS-URL: https://build.opensuse.org/request/show/533763 OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=149
This commit is contained in:
parent
cb7236cb90
commit
e6bb46562e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 12 21:03:40 UTC 2017 - mgorse@suse.com
|
||||
|
||||
- Add no-systray-failure-message.patch: don't display an error if
|
||||
unable to find a system tray (boo#1061211).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 4 14:28:17 UTC 2017 - mwilck@suse.com
|
||||
|
||||
|
@ -73,6 +73,8 @@ Patch107: hplip-udev-rules-in-usr.patch
|
||||
# Patch108 add_missing_includes_and_define_GNU_SOURCE.patch adds missing '#include <...>'
|
||||
# and missing '#define _GNU_SOURCE' see https://bugs.launchpad.net/hplip/+bug/1456590
|
||||
Patch108: add_missing_includes_and_define_GNU_SOURCE.patch
|
||||
# PATCH-FIX-SUSE: GNOME no longer provides a system tray, so don't warn the user that we can't find it
|
||||
Patch109: no-systray-failure-message.patch
|
||||
# Patch200 fixes device communication and detection via MDNS in some network setups:
|
||||
Patch200: hplip-mdns.patch
|
||||
# Patch201 makes MDNS lookups more robust by retrying queries:
|
||||
@ -368,6 +370,7 @@ This sub-package is only required by developers.
|
||||
# Patch108 add_missing_includes_and_define_GNU_SOURCE.patch adds missing '#include <...>'
|
||||
# and missing '#define _GNU_SOURCE' see https://bugs.launchpad.net/hplip/+bug/1456590
|
||||
%patch108 -p1 -b .add_missing_includes_and_define_GNU_SOURCE.orig
|
||||
%patch109 -p1 -b systemtray.py.orig
|
||||
%patch200 -p1 -b .mdns
|
||||
%patch201 -p1 -b .mdns-retry
|
||||
|
||||
|
17
no-systray-failure-message.patch
Normal file
17
no-systray-failure-message.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff -urp hplip-3.17.9.orig/ui5/systemtray.py hplip-3.17.9/ui5/systemtray.py
|
||||
--- hplip-3.17.9.orig/ui5/systemtray.py 2017-09-19 02:29:18.000000000 -0500
|
||||
+++ hplip-3.17.9/ui5/systemtray.py 2017-10-12 15:39:43.456026353 -0500
|
||||
@@ -848,12 +848,7 @@ def run(read_pipe):
|
||||
i += 1
|
||||
|
||||
if not QSystemTrayIcon.isSystemTrayAvailable():
|
||||
- FailureUI(None,
|
||||
- QApplication.translate("SystemTray",
|
||||
- "<b>No system tray detected on this system.</b><p>Unable to start, exiting.</p>",
|
||||
- None),
|
||||
- QApplication.translate("SystemTray", "HPLIP Status Service",
|
||||
- None))
|
||||
+ exit(0)
|
||||
else:
|
||||
notifier = QSocketNotifier(read_pipe, QSocketNotifier.Read)
|
||||
# QObject.notifier.activated[int].connect(app.notifierActivated)
|
Loading…
x
Reference in New Issue
Block a user