[tor-commits] [torbutton/master] Bug #4016: Resize window on "New Identity"
mikeperry at torproject.org
mikeperry at torproject.org
Sat Oct 1 03:58:53 UTC 2011
commit b5e0eda6d90883dd00c476dc1a63f32e8b6214e3
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Fri Sep 30 20:58:16 2011 -0700
Bug #4016: Resize window on "New Identity"
---
src/chrome/content/torbutton.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index 0d7ef88..3f9a64d 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -1529,6 +1529,9 @@ function torbutton_new_identity() {
}
}
+ // gBrowser should always be here.
+ torbutton_set_window_size(gBrowser.contentWindow);
+
torbutton_log(3, "New identity successful");
}
@@ -3191,6 +3194,8 @@ function torbutton_regen_google_cookie() {
if (!m_tb_hidden_browser) {
torbutton_init_hidden_browser();
}
+ // XXX: This is might be forbidden according to
+ // https://bugzilla.mozilla.org/show_bug.cgi?id=608628
m_tb_hidden_browser.addProgressListener(torbutton_google_cookie_regen_listener,
Ci.nsIWebProgress.NOTIFY_STATE_DOCUMENT);
More information about the tor-commits
mailing list