rem: view.treebox.rowCountChanged(index, 1); 
add: if (gPrefView == gPrefArray) view.treebox.rowCountChanged(index, 1); 
context:   observe: function(subject, topic, prefName)  {    if (topic != "nsPref:changed")      return;    if (/capability/.test(prefName)) // avoid displaying "private" preferences      return;    var index = gPrefArray.length;    if (prefName in gPrefHash) {      index = getIndexOfPref(gPrefHash[prefName]);      fetchPref(prefName, index);      view.treebox.invalidateRow(index);      if (gSortedColumn == "lockCol" || gSortedColumn == "valueCol")        gFastIndex = 1; // TODO: reinsert and invalidate range    } else {      fetchPref(prefName, index);      if (index == gFastIndex) {        // Keep the array sorted by reinserting the pref object        var pref = gPrefArray.pop();        index = getNearestIndexOfPref(pref);        gPrefArray.splice(index, 0, pref);        gFastIndex = gPrefArray.length;      }      view.treebox.rowCountChanged(index, 1);    }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/28c6babc46d6ff95ffb8b9a1a821826b153c2384/config.js/clean/xpfe/global/resources/content/config.js