[tor-commits] [torbirdy/master] Fix bug #7776 that did not preserve the Message Pane setting

sukhbir at torproject.org sukhbir at torproject.org
Sat Sep 21 23:48:43 UTC 2013


commit 34907e60a8d71c673e8c8bdba0bcc4629229905a
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Sat Sep 21 19:21:23 2013 -0400

    Fix bug #7776 that did not preserve the Message Pane setting
---
 chrome/content/overlay.js |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/chrome/content/overlay.js b/chrome/content/overlay.js
index 0b3dd2e..3e8f997 100644
--- a/chrome/content/overlay.js
+++ b/chrome/content/overlay.js
@@ -8,15 +8,10 @@
                     .getService(Ci.nsIEnvironment);
 
   if (!(prefs.getBoolPref('extensions.torbirdy.startup_folder'))) {
-    window.loadStartFolder = function() {
-      var startupFolder = GetMsgFolderFromUri("mailbox://nobody@Local%20Folders");
-      if (startupFolder) {
-        if (window.gFolderTreeView) {
-          gFolderTreeView.selectFolder(startupFolder);
-        }
-      }
-    };
-  }
+    if (window.gFolderTreeView) {
+      gFolderTreeView.selectFolder = function() { return; }
+    }
+  };
 
   window.TorBirdy = {
     onLoad: function() {





More information about the tor-commits mailing list