hplip/hplip-3.22.4-ui5-systray-hide-when-inactive.patch

12 lines
549 B
Diff

--- hplip-3.20.11/ui5/ui_utils.py.orig 2020-12-13 11:57:56.371789774 +0100
+++ hplip-3.20.11/ui5/ui_utils.py 2020-12-13 11:58:44.127640113 +0100
@@ -173,7 +173,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 = ''