This commit is contained in:
Kovid Goyal 2017-10-22 10:55:30 +05:30
parent 1e12b7fede
commit 347d40c639
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -185,16 +185,5 @@ def get_notifier(systray=None):
if __name__ == '__main__': if __name__ == '__main__':
n = KDENotifier() n = get_notifier()
n('hello') n('hello')
n = FDONotifier()
n('hello')
'''
from PyQt5.Qt import QApplication, QSystemTrayIcon, QIcon
app = QApplication([])
ic = QIcon(I('lt.png'))
tray = QSystemTrayIcon(ic)
tray.setVisible(True)
n = QtNotifier(tray)
n('hello')
'''