add: this.calendarPref.setCharPref( "categories.names", getDefaultCategories() ); 
context: function calendarPreferences( CalendarWindow ){   window.calendarPrefObserver = new calendarPrefObserver( this );      this.calendarWindow = CalendarWindow;   this.arrayOfPrefs = new Object();      this.calendarPref = prefService.getBranch("calendar."); // preferences mozgest node      // read prefs or set Defaults on the first run  try {    this.loadPreferences();    }  catch(e) {     this.calendarPref.setBoolPref( "alarms.show", true );     this.calendarPref.setBoolPref( "alarms.playsound", false );     this.calendarPref.setIntPref( "date.format", 0 );     this.calendarPref.setIntPref( "week.start", 0 );     this.calendarPref.setIntPref( "event.defaultlength", 60 );     this.calendarPref.setIntPref( "alarms.defaultsnoozelength", 10 );     this.loadPreferences();  }    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e168f1c28f7c15ad88e345385136c353527e3021/rootCalendarPref.js/clean/calendar/resources/content/pref/rootCalendarPref.js