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: SetQSStatusText(gDBView.QueryInterface(Components.interfaces.nsITreeView).rowCount) 
context:     onSearchDone: function(status)    {        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;        }        statusFeedback.showProgress(0);        statusFeedback.showStatusString(statusMsg);        gStatusBar.setAttribute("mode","normal");        gSearchInProgress = false;    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/bdb14cf763fd88fae2716f3e80e9a50633f984c9/searchBar.js/clean/mailnews/base/resources/content/searchBar.js