Revision: 3896
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3896&view=rev
Author:   hofman
Date:     2008-05-18 10:46:26 -0700 (Sun, 18 May 2008)

Log Message:
-----------
Should check for Skim notes document rather than text notes for opening from 
Spotlight.

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

Modified: trunk/SKDocumentController.m
===================================================================
--- trunk/SKDocumentController.m        2008-05-18 17:41:12 UTC (rev 3895)
+++ trunk/SKDocumentController.m        2008-05-18 17:46:26 UTC (rev 3896)
@@ -334,7 +334,7 @@
 
 - (id)openDocumentWithContentsOfURL:(NSURL *)absoluteURL 
display:(BOOL)displayDocument error:(NSError **)outError {
     NSString *type = [self typeForContentsOfURL:absoluteURL error:NULL];
-    if (SKIsNotesTextDocumentType(type)) {
+    if (SKIsNotesDocumentType(type)) {
         NSAppleEventDescriptor *event = [[NSAppleEventManager 
sharedAppleEventManager] currentAppleEvent];
         if ([event eventID] == kAEOpenDocuments && [event 
descriptorForKeyword:keyAESearchText]) {
             NSString *pdfFile = [[absoluteURL path] 
stringByReplacingPathExtension:@"pdf"];


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: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to