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)