boklm pushed to branch main at The Tor Project / Applications / 
torbrowser-launcher


Commits:
a734238b by Integral at 2025-03-18T17:55:44+01:00
fix: window icon under wayland

Currently, when running the launcher on Wayland, the window icon
will fallback to the generic Wayland icon. Set desktop filename to
solve this problem.

- - - - -


1 changed file:

- torbrowser_launcher/__init__.py


Changes:

=====================================
torbrowser_launcher/__init__.py
=====================================
@@ -81,6 +81,9 @@ def main():
     common = Common(tor_browser_launcher_version)
     app = Application()
 
+    if "WAYLAND_DISPLAY" in os.environ:
+        app.setDesktopFileName("torbrowser")
+
     # Open the window
     gui = None
 



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/commit/a734238b7279fb08fde02f6fa7238af882641974

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/commit/a734238b7279fb08fde02f6fa7238af882641974
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to