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

[tor-commits] [snowflake/master] Set the browser action icon to off when webrtc is disabled



commit 6c6707ae9b729a676ae1420d2a62c287fd3f39ab
Author: Arlo Breault <arlolra@xxxxxxxxx>
Date:   Sat Jul 13 12:48:21 2019 +0200

    Set the browser action icon to off when webrtc is disabled
    
    This is now necessary since the webextension changed to default to on.
    
    Follow up to 095f4a0
    
    From trac 31067
---
 proxy/init-webext.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/init-webext.js b/proxy/init-webext.js
index 2f4f156..c641621 100644
--- a/proxy/init-webext.js
+++ b/proxy/init-webext.js
@@ -36,6 +36,7 @@ var debug, snowflake, config, broker, ui, log, dbg, init, update, silenceNotific
         missingFeature: true
       });
     });
+    chrome.browserAction.setIcon({ path: { 32: "icons/status-off.png" } });
     return;
   }
 

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