add: ["bugURL",           defer, "appearance.misc"], 
context: function getNetworkPrefManager(network){    function defer(prefName)    {        return client.prefs[prefName];    };    function makeLogNameNetwork()    {        return makeLogName(network, "network");    };    function onPrefChanged(prefName, newValue, oldValue)    {        onNetworkPrefChanged (network, prefName, newValue, oldValue);    };    var logDefault = client.prefManager.logPath.clone();    logDefault.append(escapeFileName(pref_mungeName(network.encodedName)) + ".log");    var prefs =        [         ["autoRejoin",       defer, ".connect"],         ["away",             "",    "hidden"],         ["awayNick",         defer, ".ident"],         ["charset",          defer, ".connect"],         ["collapseMsgs",     defer, "appearance.misc"],         ["connectTries",     defer, ".connect"],         ["dcc.useServerIP",  defer, "dcc"],         ["desc",             defer, ".ident"],         ["displayHeader",    client.prefs["networkHeader"],                                                             "appearance.misc"],         ["font.family",      defer, "appearance.misc"],         ["font.size",        defer, "appearance.misc"],         ["hasPrefs",         false, "hidden"],         ["log",              client.prefs["networkLog"], ".log"],         ["logFileName",      makeLogNameNetwork,         ".log"],         ["motif.current",    defer, "appearance.motif"],         ["nickname",         defer, ".ident"],         ["nicknameList",     defer, "lists.nicknameList"],         ["notifyList",       [],    "lists.notifyList"],         ["outputWindowURL",  defer, "appearance.misc"],         ["reconnect",        defer, ".connect"],         ["timestamps",       defer, "appearance.timestamps"],         ["timestampFormat",  defer, "appearance.timestamps"],         ["username",         defer, ".ident"],         ["usermode",         defer, ".ident"],         ["autoperform",      [],    "lists.autoperform"]        ];    var branch = "extensions.irc.networks." + pref_mungeName(network.encodedName) +        ".";    var prefManager = new PrefManager(branch, client.defaultBundle);    prefManager.addPrefs(prefs);    prefManager.addObserver({ onPrefChanged: onPrefChanged });    client.prefManager.addObserver(prefManager);    var value = prefManager.prefs["nickname"];    if (value != CIRCNetwork.prototype.INITIAL_NICK)        network.INITIAL_NICK = value;    value = prefManager.prefs["username"];    if (value != CIRCNetwork.prototype.INITIAL_NAME)        network.INITIAL_NAME = value;    value = prefManager.prefs["desc"];    if (value != CIRCNetwork.prototype.INITIAL_DESC)        network.INITIAL_DESC = value;    value = prefManager.prefs["usermode"];    if (value != CIRCNetwork.prototype.INITIAL_UMODE)        network.INITIAL_UMODE = value;    network.stayingPower  = prefManager.prefs["reconnect"];    network.MAX_CONNECT_ATTEMPTS = prefManager.prefs["connectTries"];    client.prefManagers.push(prefManager);    return prefManager;}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/e28d78c185ba0a948db55cbf4ba3cb3eff9c51d0/prefs.js/clean/xul/content/prefs.js