[tbb-commits] [tor-browser-bundle/maint-5.0] Bug 16860: Reuse favorite Tor Browser icon
gk at torproject.org
gk at torproject.org
Mon Aug 24 13:24:59 UTC 2015
commit a3473c7b35e83db97df1b39175c1ca4c717e9364
Author: Georg Koppen <gk at torproject.org>
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
More information about the tbb-commits
mailing list