rem: dump("initing message label\n"); 
add: /* this code gets the label strings and changes the menu labels */ var prefs = Components.classes["@mozilla.org/preferences;1"].getService(Components.interfaces.nsIPref); var prefBranch = prefs.getDefaultBranch(null); var color;  for (var i = 0;i <= 5; i++) { try { var prefString = prefs.getComplexValue("mailnews.labels.description." + i, Components.interfaces.nsIPrefLocalizedString); var formattedPrefString = gMessengerBundle.getFormattedString("labelMenuItemFormat" + i, [prefString], 1); SetMenuItemLabel(menuType + '-labelMenuItem' + i, formattedPrefString);    /***** if (i != 0) { color = prefBranch.getCharPref("mailnews.labels.color." + i);  document.getElementById(menuType + "-labelMenuItem" + i).setAttribute("style", ("color: " + color));      } ****/ } catch(ex) { dump("bad! " + ex + "\n"); } } 
context: function InitMessageLabel(){dump("initing message label\n");    document.commandDispatcher.updateCommands('create-menu-label');  /* this code should probably get the label strings and change the menu labels */}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3f515758a8452e83fcfc313461898cbad291a17e/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js