Author: xor
Date: 2009-03-07 13:42:19 +0000 (Sat, 07 Mar 2009)
New Revision: 25927

Modified:
   trunk/freenet/src/freenet/clients/http/PageMaker.java
Log:
Revert previous comment and deprecate the removeNavigationLink.

Modified: trunk/freenet/src/freenet/clients/http/PageMaker.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/PageMaker.java       2009-03-07 
13:28:32 UTC (rev 25926)
+++ trunk/freenet/src/freenet/clients/http/PageMaker.java       2009-03-07 
13:42:19 UTC (rev 25927)
@@ -119,6 +119,8 @@
                        navigationLinkCallbacks.put(name, cb);
        }
        
+       /* FIXME: Implement a proper way for chosing what the menu looks like 
upon handleHTTPGet/Post */
+       @Deprecated
        public void removeNavigationLink(String name) {
                navigationLinkTexts.remove(name);
                navigationLinkTextsNonFull.remove(name);
@@ -126,13 +128,6 @@
                navigationLinks.remove(name);
        }
        
-       public void removeAllNavigationLinks() {
-               navigationLinkTexts.clear();
-               navigationLinkTextsNonFull.clear();
-               navigationLinkTitles.clear();
-               navigationLinks.clear();
-       }
-       
        public HTMLNode createBackLink(ToadletContext toadletContext, String 
name) {
                String referer = toadletContext.getHeaders().get("referer");
                if (referer != null) {

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to