Bug 271841 - Show full newsgroup name as tooltip for abbreviated newsgroup names; (Bv1) Fix nits to sync with SeaMonkey.
authorSerge Gautherie <sgautherie.bz@free.fr>
Wed, 25 Nov 2009 16:20:57 +0100
changeset 4449 8c33e59f55dc76a0c3f86163e11d7eac0336b286
parent 4448 d577d67445863ac366e9ec9f4277d509fe374856
child 4450 dcfa39f4766a9d2ed7db6003825ecf4a4d4272a1
push id3478
push usersgautherie.bz@free.fr
push dateWed, 25 Nov 2009 15:24:13 +0000
treeherdercomm-central@8c33e59f55dc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs271841
Bug 271841 - Show full newsgroup name as tooltip for abbreviated newsgroup names; (Bv1) Fix nits to sync with SeaMonkey. r=standard8.
mail/base/content/mailWidgets.xml
--- a/mail/base/content/mailWidgets.xml
+++ b/mail/base/content/mailWidgets.xml
@@ -2037,32 +2037,31 @@
               var msgPopup = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "label");
               msgPopup.setAttribute("value", aFolder.name);
               document.getAnonymousNodes(this)[0].appendChild(msgPopup);
               return true;
             }
 
             // skip servers, Trash and Junk folders
             if (!aFolder || aFolder.isServer ||
-                 aFolder.getFlag(Components.interfaces.nsMsgFolderFlags.Junk) ||
-                 aFolder.getFlag(Components.interfaces.nsMsgFolderFlags.Trash))
+                aFolder.getFlag(Components.interfaces.nsMsgFolderFlags.Junk) ||
+                aFolder.getFlag(Components.interfaces.nsMsgFolderFlags.Trash))
               return false;
             var pref = Components.classes["@mozilla.org/preferences-service;1"]
                                  .getService(Components.interfaces.nsIPrefBranch);
             var showPreviewText = pref.getBoolPref("mail.biff.alert.show_preview");
             var folderArray = new Array;
             if (aFolder.flags & Components.interfaces.nsMsgFolderFlags.Virtual)
             {
               var dbFolderInfo = aFolder.msgDatabase.dBFolderInfo;
               var srchFolderUri = dbFolderInfo.getCharProperty("searchFolderUri");
               var srchFolderUriArray = srchFolderUri.split('|');
               var foldersAdded = 0;
               var RDF = Components.classes['@mozilla.org/rdf/rdf-service;1']
-                                  .getService()
-                                  .QueryInterface(Components.interfaces.nsIRDFService);
+                                  .getService(Components.interfaces.nsIRDFService);
               for (var i in srchFolderUriArray)
               {
                 var realFolder = RDF.GetResource(srchFolderUriArray[i])
                                     .QueryInterface(Components.interfaces.nsIMsgFolder);
                 if (!realFolder.isServer)
                   folderArray[foldersAdded++] = realFolder;
               }
             }