mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
1e12b7fede
commit
347d40c639
@ -185,16 +185,5 @@ def get_notifier(systray=None):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
n = KDENotifier()
|
||||
n = get_notifier()
|
||||
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')
|
||||
'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user