Revision: 5420
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5420&view=rev
Author:   hofman
Date:     2009-06-13 11:30:22 +0000 (Sat, 13 Jun 2009)

Log Message:
-----------
properly initialize saved setup bookmark

Modified Paths:
--------------
    trunk/SKBookmark.m

Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m  2009-06-12 20:13:41 UTC (rev 5419)
+++ trunk/SKBookmark.m  2009-06-13 11:30:22 UTC (rev 5420)
@@ -265,6 +265,8 @@
         while (dict = [dictEnum nextObject])
             [newChildren addObject:[SKBookmark bookmarkWithProperties:dict]];
         return [[bookmarkClass alloc] initFolderWithChildren:newChildren 
label:[dictionary objectForKey:LABEL_KEY]];
+    } else if ([dictionary objectForKey:@"windowFrame"]) {
+        return [[SKFileBookmark alloc] initWithSetup:dictionary 
label:[dictionary objectForKey:LABEL_KEY]];
     } else {
         return [[SKFileBookmark alloc] initWithAlias:[BDAlias 
aliasWithData:[dictionary objectForKey:ALIASDATA_KEY]] pageIndex:[[dictionary 
objectForKey:PAGEINDEX_KEY] unsignedIntValue] label:[dictionary 
objectForKey:LABEL_KEY]];
     }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to