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

[tor-commits] [tor-browser-bundle/maint-5.0] Bug 16860: Reuse favorite Tor Browser icon



commit a3473c7b35e83db97df1b39175c1ca4c717e9364
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
Date:   Thu Aug 20 09:53:41 2015 +0200

    Bug 16860: Reuse favorite Tor Browser icon
    
    Adding "StartupWMClass=Tor Browser" makes sure that the favorite
    Tor Browser icon is reused after Tor Browser got registered. If this
    property is missing one gets two icons: oe for the favorite and a new
    icon for the running instance. This impacts at least Gnome3.
    
    Thanks to a cypherpunk for the proposed fix.
---
 RelativeLink/start-tor-browser.desktop |    1 +
 1 file changed, 1 insertion(+)

diff --git a/RelativeLink/start-tor-browser.desktop b/RelativeLink/start-tor-browser.desktop
index d6c1c63..9c63466 100755
--- a/RelativeLink/start-tor-browser.desktop
+++ b/RelativeLink/start-tor-browser.desktop
@@ -31,3 +31,4 @@ Categories=Network;WebBrowser;Security;
 Exec=sh -c '"$(dirname "$*")"/Browser/start-tor-browser --detach || ([ ! -x "$(dirname "$*")"/Browser/start-tor-browser ] && "$(dirname "$*")"/start-tor-browser --detach)' dummy %k
 X-TorBrowser-ExecShell=./Browser/start-tor-browser --detach
 Icon=web-browser
+StartupWMClass=Tor Browser

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits