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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3a4f499078f4410fa9deb0601dbea5fd7b69008c/calendarManager.js/clean/calendar/resources/content/calendarManager.js