rem: if (this.CalendarPreferences.calendarWindow.currentView != null) { this.CalendarPreferences.calendarWindow.currentView.refresh(); } 
context:     observe: function(subject, topic, prefName)    {        subject = subject.QueryInterface(Components.interfaces.nsIPrefBranch2);        // when calendar pref was changed, we reinitialize         switch( prefName )        {            case "calendar.week.start":                if (this.CalendarPreferences.calendarWindow.currentView != null) {                  this.CalendarPreferences.calendarWindow.currentView.refresh();                }                if (this.CalendarPreferences.calendarWindow.miniMonth != null) {                  this.CalendarPreferences.calendarWindow.miniMonth.refreshDisplay(true);                }                break;            case "calendar.date.format" :                if (this.CalendarPreferences.calendarWindow.currentView != null) {                  this.CalendarPreferences.calendarWindow.currentView.refresh();                }                refreshEventTree();                toDoUnifinderRefresh();                break;            case "calendar.alarms.showmissed":                if( subject.getBoolPref( prefName ) ) {                  // XXX: trigger the alarmmanager to show missed events                }                break;            case "calendar.timezone.local":                gDefaultTimezone = subject.getCharPref( prefName );                refreshEventTree();                toDoUnifinderRefresh();                break;            default :                break;        }             //this causes Mozilla to freeze        //firePendingEvents();     },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/12e5dadb51e70edc1695efafd529920855936751/rootCalendarPref.js/buggy/calendar/resources/content/pref/rootCalendarPref.js