From 347d40c639c91778ecba3a036aff6e7cac6b8148 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 22 Oct 2017 10:55:30 +0530 Subject: [PATCH] ... --- src/calibre/gui2/notify.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/calibre/gui2/notify.py b/src/calibre/gui2/notify.py index a9a3206b11..d44ee957ba 100644 --- a/src/calibre/gui2/notify.py +++ b/src/calibre/gui2/notify.py @@ -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') - '''