mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Rename system tray to menu bar on MacOS
This commit is contained in:
parent
4d241fac48
commit
451feda86b
4 changed files with 10 additions and 7 deletions
|
@ -64,11 +64,11 @@ class MacOSSystemTray(object):
|
|||
self.tray_icon = rumps.App(common.PRODUCT, icon=self.icon, menu=self.menu, quit_button=None)
|
||||
|
||||
def start(self):
|
||||
logger.info("Launching MacOS system tray icon.")
|
||||
logger.info("Launching MacOS menu bar icon.")
|
||||
try:
|
||||
self.tray_icon.run()
|
||||
except Exception as e:
|
||||
logger.error("Unable to launch system tray icon: %s." % e)
|
||||
logger.error("Unable to launch menu bar icon: %s." % e)
|
||||
|
||||
def shutdown(self):
|
||||
rumps.quit_application()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue