Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
b638b7b8 by wurstsalat at 2024-07-06T13:46:59+02:00
cfix: Notifications: Fix icon path for Windows toast notifications

- - - - -


1 changed file:

- gajim/gtk/notification.py


Changes:

=====================================
gajim/gtk/notification.py
=====================================
@@ -303,11 +303,12 @@ def _register_notifier_aumid(self) -> None:
         key_path = 
f'SOFTWARE\\Classes\\AppUserModelId\\{WINDOWS_TOAST_NOTIFIER_AUMID}'
 
         image_path = (
-            Path(sys.executable).parent
+            Path(sys.executable).parent.parent
             / 'share'
             / 'icons'
             / 'hicolor'
             / '96x96'
+            / 'apps'
             / 'org.gajim.Gajim.png'
         )
         winreg.ConnectRegistry(None, winreg.HKEY_CURRENT_USER)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/b638b7b8a7634dd78a46aaa10f2adc106f80e91c

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/b638b7b8a7634dd78a46aaa10f2adc106f80e91c
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- commits@gajim.org
To unsubscribe send an email to commits-le...@gajim.org

Reply via email to