Revision: 2766
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2766&view=rev
Author:   hofman
Date:     2007-08-28 16:59:36 -0700 (Tue, 28 Aug 2007)

Log Message:
-----------
Change file names for skim notes in PDF bundle.

Modified Paths:
--------------
    SkimNotesAgent/SkimNotesAgent.m

Modified: SkimNotesAgent/SkimNotesAgent.m
===================================================================
--- SkimNotesAgent/SkimNotesAgent.m     2007-08-28 23:59:10 UTC (rev 2765)
+++ SkimNotesAgent/SkimNotesAgent.m     2007-08-28 23:59:36 UTC (rev 2766)
@@ -90,7 +90,7 @@
     NSString *extension = [[aFile pathExtension] lastPathComponent];
     
     if ([extension caseInsensitiveCompare:@"pdfd"] == NSOrderedSame) {
-        data = [NSData dataWithContentsOfFile:[aFile 
stringByAppendingPathComponent:@"data.skim"] options:0 error:&error];
+        data = [NSData dataWithContentsOfFile:[aFile 
stringByAppendingPathComponent:@"notes.skim"] options:0 error:&error];
         if (nil == data)
             fprintf(stderr, "SkimNotesAgent pid %d: error getting Skim 
notes\n", getpid(), [[error description] UTF8String]);
     } else if ([extension caseInsensitiveCompare:@"skim"] == NSOrderedSame) {
@@ -112,7 +112,7 @@
     NSString *extension = [[aFile pathExtension] lastPathComponent];
     
     if ([extension caseInsensitiveCompare:@"pdfd"] == NSOrderedSame) {
-        data = [NSData dataWithContentsOfFile:[aFile 
stringByAppendingPathComponent:@"data.rtf"] options:0 error:&error];
+        data = [NSData dataWithContentsOfFile:[aFile 
stringByAppendingPathComponent:@"notes.rtf"] options:0 error:&error];
         if (nil == data)
             fprintf(stderr, "SkimNotesAgent pid %d: error getting Skim 
notes\n", getpid(), [[error description] UTF8String]);
     } else {
@@ -130,7 +130,7 @@
     NSString *extension = [[aFile pathExtension] lastPathComponent];
     
     if ([extension caseInsensitiveCompare:@"pdfd"] == NSOrderedSame) {
-        string = [NSString stringWithContentsOfFile:[aFile 
stringByAppendingPathComponent:@"data.txt"] encoding:NSUTF8StringEncoding 
error:&error];
+        string = [NSString stringWithContentsOfFile:[aFile 
stringByAppendingPathComponent:@"notes.txt"] encoding:NSUTF8StringEncoding 
error:&error];
         if (nil == string)
             fprintf(stderr, "SkimNotesAgent pid %d: error getting Skim 
notes\n", getpid(), [[error description] UTF8String]);
     } else {


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to