mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Get rid of unneccessary notify specific icon
This commit is contained in:
parent
3381e02158
commit
f42190580c
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB |
@ -26,7 +26,7 @@ class Notifier(object):
|
|||||||
|
|
||||||
class DBUSNotifier(Notifier):
|
class DBUSNotifier(Notifier):
|
||||||
|
|
||||||
ICON = I('notify.png')
|
ICON = I('lt.png')
|
||||||
|
|
||||||
def __init__(self, server, path, interface):
|
def __init__(self, server, path, interface):
|
||||||
self.ok, self.err = True, None
|
self.ok, self.err = True, None
|
||||||
@ -176,7 +176,7 @@ if __name__ == '__main__':
|
|||||||
'''
|
'''
|
||||||
from PyQt5.Qt import QApplication, QSystemTrayIcon, QIcon
|
from PyQt5.Qt import QApplication, QSystemTrayIcon, QIcon
|
||||||
app = QApplication([])
|
app = QApplication([])
|
||||||
ic = QIcon(I('notify.png'))
|
ic = QIcon(I('lt.png'))
|
||||||
tray = QSystemTrayIcon(ic)
|
tray = QSystemTrayIcon(ic)
|
||||||
tray.setVisible(True)
|
tray.setVisible(True)
|
||||||
n = QtNotifier(tray)
|
n = QtNotifier(tray)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user