rem: { 
context: function MsgCompactFolder(isAll) {  // Get the selected folders.  var selectedFolders = GetSelectedMsgFolders();  if (selectedFolders.length == 1)  {    var selectedFolder = selectedFolders[0];    var resource = selectedFolder.QueryInterface(Components.interfaces.nsIRDFResource);    if (selectedFolder.server.type != "imap") //can be local only    {      var msgfolder = resource.QueryInterface(Components.interfaces.nsIMsgFolder);      var expungedBytes = msgfolder.expungedBytes;      if (expungedBytes > 0)      {         if (gDBView)        {          gCurrentlyDisplayedMessage = gDBView.currentlyDisplayedMessage;        }        ClearThreadPaneSelection();        ClearThreadPane();        ClearMessagePane();      }      else      {        if (!isAll)  //you have one local folder with no room to compact          return;      }    }     try    {      messenger.CompactFolder(GetFolderDatasource(), resource, isAll);    }    catch(ex)    {      dump("Exception : messenger.CompactFolder : " + ex + "\n");    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/3607a7a014ade1217ee7ac64436a2297131161d8/widgetglue.js/clean/mail/base/content/widgetglue.js