rem: color = gPrefBranch.getCharPref("mailnews.labels.color." + labelID); 
add: if (labelID) color = gPrefBranch.getCharPref("mailnews.labels.color." + labelID); else color = "none";  
context: function setLabelAttributes(labelID, menuItemID){    var color;    var prefString;    try    {        color = gPrefBranch.getCharPref("mailnews.labels.color." + labelID);        prefString = gPrefBranch.getComplexValue("mailnews.labels.description." + labelID,                                           Components.interfaces.nsIPrefLocalizedString);    }    catch(ex)    {        dump("bad! " + ex + "\n");    }    document.getElementById(menuItemID).setAttribute("label", prefString);    // the following is commented out for now until UE decides on how to show the    // Labels menu items in the drop down list menu.    //document.getElementById(menuItemID).setAttribute("style", ("color: " + color));}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1f918a157d2ab46fb56c4db9a7a4d1e9b603f9cb/FilterEditor.js/clean/mailnews/base/search/resources/content/FilterEditor.js