Fix tray icon changing upon notification
This commit is contained in:
parent
b5e93edae1
commit
68d24a1969
|
@ -1411,7 +1411,8 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
def notifierInit(self):
|
def notifierInit(self):
|
||||||
def _simple_notify(
|
def _simple_notify(
|
||||||
title, subtitle, category, label=None, icon=None):
|
title, subtitle, category, label=None, icon=None):
|
||||||
self.tray.showMessage(title, subtitle, 1, 2000)
|
self.tray.showMessage(
|
||||||
|
title, subtitle, self.tray.NoIcon, msecs=2000)
|
||||||
|
|
||||||
self._notifier = _simple_notify
|
self._notifier = _simple_notify
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user