[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/torbrowser-launcher][main] fix: window icon under wayland



Title: GitLab

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:

Changes:

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

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx