rem: gCalendarWindow.calendarManager.addCalendar( calendarToGet ); 
add: if( calendarToGet.active ) gCalendarWindow.calendarManager.addCalendar( calendarToGet ); 
context: function onResponseAndRefresh( ){   //save the stream to a file.   saveDataToFile( calendarToGet.path, request.responseText, "UTF-8" );      gCalendarWindow.calendarManager.removeCalendar( calendarToGet );   gCalendarWindow.calendarManager.addCalendar( calendarToGet );   refreshEventTree( false );   gCalendarWindow.currentView.refreshEvents();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/ed8071f89a080a524ee21853244bb920045b6de7/calendarManager.js/buggy/calendar/resources/content/calendarManager.js