rem: _('strings').getString('connectButton') : _('strings').getString('connectConfigureButton')); 
add: _('strings').getString('connectConfigureButton') : _('strings').getString('connectButton')); 
context: function init(event) {    if(!event.target)        return;    channel = XMPP.createChannel(        <query xmlns="http://jabber.org/protocol/disco#info">        <feature var="http://jabber.org/protocol/muc"/>        <feature var="http://jabber.org/protocol/muc#user"/>        <feature var="http://jabber.org/protocol/xhtml-im"/>        <feature var="http://jabber.org/protocol/chatstates"/>        </query>);    channel.on({        event     : 'iq',        direction : 'out',        stanza    : function(s) { return s.ns_auth::query != undefined; }    }, function() {        uncollapse(_('profile'));        collapse(_('offline'));    });    channel.on({        event: 'stream',        state: 'close'    }, function() {        if(XMPP.accounts.every(XMPP.isDown))            collapse(_('profile'));    });    channel.on({        event     : 'presence',        direction : 'out',        stanza    : function(s) {            return (s.@type == undefined || s.@type == 'unavailable') &&                s.ns_muc::x == undefined && s.@to == undefined;        }    }, function(presence) { sentAvailablePresence(presence) });    XMPP.cache.fetch({        event     : 'presence',        direction : 'out',    }).forEach(sentAvailablePresence);    scriptlets = top.sameplace.scriptlets;    // We're in an <iframe/>, thus interface changes won't    // automatically be accomodated by the container.  We keep an eye    // on the main cause of size changes (collapsing elements) and    // force the container to adapt by calling the custom    // sizeToContent().    _('main').addEventListener('collapse', sizeToContent, false);    if(XMPP.accounts.every(XMPP.isDown)) {        uncollapse(_('offline'));        collapse(_('profile'));    }    _('button-go-online').label = (XMPP.accounts.length == 0 ?                                   _('strings').getString('connectButton') :                                   _('strings').getString('connectConfigureButton'));    sizeToContent();}
meta: 1705	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1705/faa896cb7e607bf4b6073970ae92571056592b78/toolbox.js/clean/chrome/content/toolbox.js