Revision: 7091
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7091&view=rev
Author:   hofman
Date:     2011-02-09 19:21:11 +0000 (Wed, 09 Feb 2011)

Log Message:
-----------
show notes from ps, dvi, xdv files from service

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

Modified: trunk/SKDocumentController.m
===================================================================
--- trunk/SKDocumentController.m        2011-02-09 18:34:02 UTC (rev 7090)
+++ trunk/SKDocumentController.m        2011-02-09 19:21:11 UTC (rev 7091)
@@ -278,7 +278,7 @@
         NSString *type = [self typeForContentsOfURL:theURL error:&error];
         NSData *data = nil;
         
-        if ([type isEqualToString:SKPDFDocumentType]) {
+        if ([type isEqualToString:SKPDFDocumentType] || [type 
isEqualToString:SKPostScriptDocumentType] || [type 
isEqualToString:SKDVIDocumentType] || [type isEqualToString:SKXDVDocumentType]) 
{
             data = [[SKNExtendedAttributeManager sharedManager] 
extendedAttributeNamed:SKIM_NOTES_KEY atPath:[theURL path] traverseLink:YES 
error:&error];
         } else if ([type isEqualToString:SKPDFBundleDocumentType]) {
             NSString *skimFile = [[NSFileManager defaultManager] 
bundledFileWithExtension:@"skim" inPDFBundleAtPath:[theURL path] error:&error];


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

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to