Revision: 2658
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2658&view=rev
Author:   hofman
Date:     2007-08-14 05:46:24 -0700 (Tue, 14 Aug 2007)

Log Message:
-----------
check for webloc files before URLs, otherwise webloc files will give their 
file's URL rather than the represented URL. 

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

Modified: trunk/NSURL_SKExtensions.m
===================================================================
--- trunk/NSURL_SKExtensions.m  2007-08-14 12:16:13 UTC (rev 2657)
+++ trunk/NSURL_SKExtensions.m  2007-08-14 12:46:24 UTC (rev 2658)
@@ -43,7 +43,7 @@
 @implementation NSURL (SKExtensions)
 
 + (NSURL *)URLFromPasteboardAnyType:(NSPasteboard *)pasteboard {
-    NSString *pboardType = [pasteboard availableTypeFromArray:[NSArray 
arrayWithObjects:NSURLPboardType, SKWeblocFilePboardType, NSStringPboardType, 
nil]];
+    NSString *pboardType = [pasteboard availableTypeFromArray:[NSArray 
arrayWithObjects:SKWeblocFilePboardType, NSURLPboardType, NSStringPboardType, 
nil]];
     NSURL *theURL = nil;
     if ([pboardType isEqualToString:NSURLPboardType]) {
         theURL = [NSURL URLFromPasteboard:pasteboard];


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