From 3a05b8ec69a35057aa82343c92430ba4ddb3a227 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 18 Aug 2018 15:35:25 -0700 Subject: [PATCH] Fix switching tray icon on update check --- plexpy/versioncheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexpy/versioncheck.py b/plexpy/versioncheck.py index bc8a8000..b9440c19 100644 --- a/plexpy/versioncheck.py +++ b/plexpy/versioncheck.py @@ -147,10 +147,10 @@ def check_update(auto_update=False, notify=False): if plexpy.WIN_SYS_TRAY_ICON: if plexpy.UPDATE_AVAILABLE: - icon = os.path.join(plexpy.PROG_DIR, 'data/interfaces/', plexpy.CONFIG.INTERFACE, 'images/logo-update.ico') + icon = os.path.join(plexpy.PROG_DIR, 'data/interfaces/', plexpy.CONFIG.INTERFACE, 'images/logo_tray-update.ico') hover_text = common.PRODUCT + ' - Update Available!' else: - icon = os.path.join(plexpy.PROG_DIR, 'data/interfaces/', plexpy.CONFIG.INTERFACE, 'images/logo.ico') + icon = os.path.join(plexpy.PROG_DIR, 'data/interfaces/', plexpy.CONFIG.INTERFACE, 'images/logo_tray.ico') hover_text = common.PRODUCT + ' - No Update Available' plexpy.WIN_SYS_TRAY_ICON.update(icon=icon, hover_text=hover_text)