* Matthew Toseland <toad at amphibian.dyndns.org> [2008-01-03 16:49:45]:

> On Thursday 03 January 2008 16:15, nextgens at freenetproject.org 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()).

done in r16858

NextGen$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080103/2035fbc1/attachment.pgp>

Reply via email to