Revision: 4078
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4078&view=rev
Author:   hofman
Date:     2008-06-27 10:56:00 -0700 (Fri, 27 Jun 2008)

Log Message:
-----------
Fix reading notes from PDF bundles. We're returning a full path already from 
the bundledFile method, not a last path component.

Modified Paths:
--------------
    trunk/SkimNotes/Info.plist
    trunk/SkimNotes/NSFileManager_SKNExtensions.m

Modified: trunk/SkimNotes/Info.plist
===================================================================
--- trunk/SkimNotes/Info.plist  2008-06-27 09:38:25 UTC (rev 4077)
+++ trunk/SkimNotes/Info.plist  2008-06-27 17:56:00 UTC (rev 4078)
@@ -19,7 +19,7 @@
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>1.0.3</string>
+       <string>1.0.4</string>
        <key>NSPrincipalClass</key>
        <string></string>
 </dict>

Modified: trunk/SkimNotes/NSFileManager_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/NSFileManager_SKNExtensions.m       2008-06-27 09:38:25 UTC 
(rev 4077)
+++ trunk/SkimNotes/NSFileManager_SKNExtensions.m       2008-06-27 17:56:00 UTC 
(rev 4078)
@@ -224,7 +224,7 @@
         NSString *skimFile = [self bundledFileWithExtension:@"skim" 
inPDFBundleAtPath:path error:&error];
         
         if (skimFile)
-            notes = [NSKeyedUnarchiver unarchiveObjectWithFile:[path 
stringByAppendingPathComponent:skimFile]];
+            notes = [NSKeyedUnarchiver unarchiveObjectWithFile:skimFile];
         
         if (notes == nil)
             notes = [NSArray array];


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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to