On Thursday 03 January 2008 16:15, [EMAIL PROTECTED] wrote: > Author: nextgens > Date: 2008-01-03 16:15:23 +0000 (Thu, 03 Jan 2008) > New Revision: 16856 > > Modified: > trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java > Log: > ConnectionToadlet: don't display the "add a peer" box for opennet > > Modified: trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java > =================================================================== > --- trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java 2008-01-03 16:11:15 UTC (rev 16855) > +++ trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java 2008-01-03 16:15:23 UTC (rev 16856) > @@ -466,9 +466,10 @@ > } > // END PEER TABLE > } > - > - drawAddPeerBox(contentNode, ctx); > > + if(!isOpennet()) > + drawAddPeerBox(contentNode, ctx); > +
Override the callback. drawAddPeerBox should be inside if(shouldDrawNoderefBox()). > // our reference > if(shouldDrawNoderefBox(advancedModeEnabled)) > drawNoderefBox(contentNode, ctx);
pgpRFO6Diwldw.pgp
Description: PGP signature
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
