mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 21:51:14 -07:00
Set template icon for macOS menu bar
This commit is contained in:
parent
80723d224e
commit
19e00ee2f2
1 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,8 @@ class MacOSSystemTray(object):
|
||||||
self.menu[2].state = plexpy.CONFIG.LAUNCH_STARTUP
|
self.menu[2].state = plexpy.CONFIG.LAUNCH_STARTUP
|
||||||
self.menu[3].state = plexpy.CONFIG.LAUNCH_BROWSER
|
self.menu[3].state = plexpy.CONFIG.LAUNCH_BROWSER
|
||||||
|
|
||||||
self.tray_icon = rumps.App(common.PRODUCT, icon=self.icon, menu=self.menu, quit_button=None)
|
self.tray_icon = rumps.App(common.PRODUCT, icon=self.icon, template=True,
|
||||||
|
menu=self.menu, quit_button=None)
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
logger.info("Launching MacOS menu bar icon.")
|
logger.info("Launching MacOS menu bar icon.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue