hplip/hplip-3.14.4-systray-hide-when-inactive.patch
Silvan Calarco 7e15cd93a6 patch to suppress 'warning: openmamba distro is not found in AUTH_TYPES'
patch to hide from systray when inactive by default [release 3.14.4-2mamba;Fri Apr 11 2014]
2024-01-05 23:42:54 +01:00

13 lines
620 B
Diff

diff -Nru hplip-3.14.4.orig/ui4/ui_utils.py hplip-3.14.4/ui4/ui_utils.py
--- hplip-3.14.4.orig/ui4/ui_utils.py 2014-04-04 12:40:22.000000000 +0200
+++ hplip-3.14.4/ui4/ui_utils.py 2014-04-11 14:42:20.298791428 +0200
@@ -108,7 +108,7 @@
else:
QSettings.__init__(self, os.path.join(prop.user_dir, 'hplip.conf'), QSettings.IniFormat)
- self.systray_visible = SYSTRAY_VISIBLE_SHOW_ALWAYS
+ self.systray_visible = SYSTRAY_VISIBLE_HIDE_WHEN_INACTIVE
self.systray_messages = SYSTRAY_MESSAGES_SHOW_ALL
self.last_used_device_uri = ''
self.last_used_printer = ''