Author: nextgens
Date: 2006-08-26 16:26:56 +0000 (Sat, 26 Aug 2006)
New Revision: 10269

Modified:
   trunk/freenet/src/freenet/clients/http/BookmarkManager.java
Log:
Call startTemporaryBackgroundFetcher() upon bookmark creation

Modified: trunk/freenet/src/freenet/clients/http/BookmarkManager.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/BookmarkManager.java 2006-08-26 
16:20:41 UTC (rev 10268)
+++ trunk/freenet/src/freenet/clients/http/BookmarkManager.java 2006-08-26 
16:26:56 UTC (rev 10269)
@@ -20,9 +20,9 @@
        private static final String[] DEFAULT_DARKNET_BOOKMARKS = {
                "USK at 
PFeLTa1si2Ml5sDeUy7eDhPso6TPdmw-2gWfQ4Jg02w,3ocfrqgUMVWA2PeorZx40TW0c-FiIOL-TWKQHoDbVdE,AQABAAE/Index/-1/=Darknet
 Index (Lots of freesites - web sites hosted on freenet)"
        };
-       Vector bookmarks;
-       NodeClientCore node;
-       USKUpdatedCallback uskcb;
+       private Vector bookmarks;
+       private final NodeClientCore node;
+       private USKUpdatedCallback uskcb;

        public class BookmarkCallback implements StringArrCallback {
                public String get() {
@@ -134,6 +134,7 @@
                        try {
                                USK u = USK.create(b.key);
                                this.node.uskManager.subscribe(u, this.uskcb, 
true);
+                               
this.node.uskManager.startTemporaryBackgroundFetcher(u);
                                node.storeConfig();
                        } catch (MalformedURLException mue) {



Reply via email to