context: function onChannelPrefChanged(channel, prefName, newValue, oldValue){    var network = channel.parent.parent;    if (network != client.networks[network.canonicalName] ||        channel.parent != network.primServ ||        channel != network.primServ.channels[channel.canonicalName])    {        /* this is a stale observer, remove it */        channel.prefManager.destroy();        return;    }    channel.updateHeader();    switch (prefName)    {        case "conference.enabled":            // Wouldn't want to display a message to a hidden view.            if ("messages" in channel)            {                if (newValue)                    channel.display(MSG_CONF_MODE_ON);                else                    channel.display(MSG_CONF_MODE_OFF);            }            break;                    case "conference.limit":            channel._updateConferenceMode();            break;                case "font.family":        case "font.size":            channel.dispatch("sync-font");            break;        case "motif.current":            channel.dispatch("sync-motif");            break;        case "outputWindowURL":            channel.dispatch("sync-window");            break;        case "displayHeader":            channel.dispatch("sync-header");            break;        case "timestamps":        case "timestampFormat":            channel.dispatch("sync-timestamp");            break;        case "log":            channel.dispatch("sync-log");            break;    }}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/e9c226565810e8363f294de4ea5f3be2b6a88a5e/prefs.js/clean/xul/content/prefs.js