rem: ["autoRejoin",       defer], ["charset",          defer], ["collapseMsgs",     defer], ["connectTries",     defer], ["desc",             defer], ["displayHeader",    client.prefs["networkHeader"]], ["font.family",      defer], ["font.size",        defer], ["log",              client.prefs["networkLog"]], ["logFileName",      logDefault.path], ["motif.current",    defer], ["nickname",         defer], ["notifyList",       []], ["outputWindowURL",  defer], ["reconnect",        defer], ["timestamps",       defer], ["timestampFormat",  defer], ["username",         defer], ["usermode",         defer], ["autoperform",      []] 
add: ["autoRejoin",       defer, ".connect"], ["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",      logDefault.path, ".log"], ["motif.current",    defer, "appearance.motif"], ["nickname",         defer, ".ident"], ["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"] 
context: function getNetworkPrefManager(network){    function defer(prefName)    {        return client.prefs[prefName];    };    function onPrefChanged(prefName, newValue, oldValue)    {        onNetworkPrefChanged (network, prefName, newValue, oldValue);    };    var logDefault = client.prefManager.logPath.clone();    logDefault.append(escapeFileName(pref_mungeName(network.name)) + ".log");    var prefs =        [         ["autoRejoin",       defer],         ["charset",          defer],         ["collapseMsgs",     defer],         ["connectTries",     defer],         ["desc",             defer],         ["displayHeader",    client.prefs["networkHeader"]],         ["font.family",      defer],         ["font.size",        defer],         ["log",              client.prefs["networkLog"]],         ["logFileName",      logDefault.path],         ["motif.current",    defer],         ["nickname",         defer],         ["notifyList",       []],         ["outputWindowURL",  defer],         ["reconnect",        defer],         ["timestamps",       defer],         ["timestampFormat",  defer],         ["username",         defer],         ["usermode",         defer],         ["autoperform",      []]        ];    var branch = "extensions.irc.networks." + pref_mungeName(network.name) +        ".";    var prefManager = new PrefManager(branch, client.defaultBundle);    prefManager.addPrefs(prefs);    prefManager.onPrefChanged = onPrefChanged;    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: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/93cb913fccf4589413ab30a8b78021af11c7dffa/prefs.js/clean/xul/content/prefs.js