Author: nextgens
Date: 2007-08-16 13:58:18 +0000 (Thu, 16 Aug 2007)
New Revision: 14721

Modified:
   trunk/freenet/src/freenet/clients/http/bookmark/BookmarkManager.java
Log:
Maybe fix bookmark importing from trunk... it needs testing!

Modified: trunk/freenet/src/freenet/clients/http/bookmark/BookmarkManager.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/bookmark/BookmarkManager.java        
2007-08-16 13:18:10 UTC (rev 14720)
+++ trunk/freenet/src/freenet/clients/http/bookmark/BookmarkManager.java        
2007-08-16 13:58:18 UTC (rev 14721)
@@ -62,10 +62,7 @@

                        sc.register("bookmarks", defaultRoot.toStrings(), 0, 
true, false,"BookmarkManager.list", "BookmarkManager.listLong", configCB);

-                       clear();
-                       if(sc.getRawOption("bookmarks") == null)
-                               configCB.set(defaultRoot.toStrings());
-                       
+                       configCB.set(sc.getStringArr("bookmarks"));
                } catch (MalformedURLException mue) {
                } catch (InvalidConfigValueException icve) {
                        icve.printStackTrace();


Reply via email to