rem:  var statusMsg;  if (gNumOfSearchHits == 0) { statusMsg = gSearchBundle.getString("searchFailureMessage"); } else { if (gNumOfSearchHits == 1) statusMsg = gSearchBundle.getString("searchSuccessMessage"); else statusMsg = gSearchBundle.getFormattedString("searchSuccessMessages", [gNumOfSearchHits]);  gNumOfSearchHits = 0; }  
add: SetAdvancedSearchStatusText(gSearchView.QueryInterface(Components.interfaces.nsITreeView).rowCount); 
context:     onSearchDone: function(status)    {        gSearchStopButton.setAttribute("label", gSearchBundle.getString("labelForSearchButton"));        var statusMsg;        // if there are no hits, it means no matches were found in the search.        if (gNumOfSearchHits == 0) {            statusMsg = gSearchBundle.getString("searchFailureMessage");        }        else         {            if (gNumOfSearchHits == 1)                 statusMsg = gSearchBundle.getString("searchSuccessMessage");            else                statusMsg = gSearchBundle.getFormattedString("searchSuccessMessages", [gNumOfSearchHits]);            gNumOfSearchHits = 0;        }        gStatusFeedback.showProgress(0);        gStatusFeedback.showStatusString(statusMsg);        gStatusBar.setAttribute("mode","normal");    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/bdb14cf763fd88fae2716f3e80e9a50633f984c9/SearchDialog.js/buggy/mailnews/base/search/resources/content/SearchDialog.js