add:  #ifdef MOZILLA_1_8_BRANCH 
context: function CalendarCustomizeToolbar(){  // Disable the toolbar context menu items  var menubar = document.getElementById("main-menubar");  for (var i = 0; i < menubar.childNodes.length; ++i)    menubar.childNodes[i].setAttribute("disabled", true);      var cmd = document.getElementById("cmd_CustomizeToolbars");  cmd.setAttribute("disabled", "true");    window.openDialog("chrome://calendar/content/customizeToolbar.xul", "CustomizeToolbar",                    "chrome,all,dependent", document.getElementById("calendar-toolbox"));}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/19db5c8e7458b364471e7ed749422594fdc77b79/calendar.js/clean/calendar/resources/content/calendar.js