context:   updateUnreadCount: function ()  {#ifdef XP_WIN    var shell = Components.classes["@mozilla.org/browser/shell-service;1"]                          .getService(Components.interfaces.nsIWindowsShellService);    var unreadCount = shell.unreadMailCount;    var message = gNavigatorBundle.getFormattedString("mailUnreadTooltip", [unreadCount]);    var element = document.getElementById("mail-button");    if (element)      element.setAttribute("tooltiptext", message);                                                                  message = gNavigatorBundle.getFormattedString("mailUnreadMenuitem", [unreadCount]);    element = document.getElementById("Browser:ReadMail");    element.setAttribute("label", message);#endif  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f9db07abc5a5b14b11dbc123fb543db6c61a19a1/browser.js/clean/browser/base/content/browser.js