Revision: 3582
http://skim-app.svn.sourceforge.net/skim-app/?rev=3582&view=rev
Author: hofman
Date: 2008-03-31 03:17:31 -0700 (Mon, 31 Mar 2008)
Log Message:
-----------
Check every type that cannot be opened for PDF and PS content, so we can open
it.
Modified Paths:
--------------
trunk/SKDocumentController.m
Modified: trunk/SKDocumentController.m
===================================================================
--- trunk/SKDocumentController.m 2008-03-30 20:59:58 UTC (rev 3581)
+++ trunk/SKDocumentController.m 2008-03-31 10:17:31 UTC (rev 3582)
@@ -173,7 +173,7 @@
NSError *error = nil;
NSString *type = [super typeForContentsOfURL:inAbsoluteURL error:&error];
- if (type == nil || SKIsNotesTextDocumentType(type)) {
+ if ([self documentClassForType:type] == NULL) {
if ([inAbsoluteURL isFileURL]) {
NSString *fileName = [inAbsoluteURL path];
NSFileHandle *fh = [NSFileHandle
fileHandleForReadingAtPath:fileName];
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://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit