mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0893f9bf8c
commit
b368d2d38a
@ -263,7 +263,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
self.system_tray_icon.setVisible(True)
|
||||
self.jobs_button.tray_tooltip_updated.connect(self.system_tray_icon.setToolTip)
|
||||
elif config['systray_icon']:
|
||||
prints('Failed to create system tray icon')
|
||||
prints('Failed to create system tray icon, your desktop environment probably does not support the StatusNotifier spec')
|
||||
self.system_tray_menu = QMenu(self)
|
||||
self.toggle_to_tray_action = self.system_tray_menu.addAction(QIcon(I('page.png')), '')
|
||||
self.toggle_to_tray_action.triggered.connect(self.system_tray_icon_activated)
|
||||
|
Loading…
x
Reference in New Issue
Block a user