Revision: 18145
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18145&view=rev
Author:   hofman
Date:     2011-09-26 16:58:38 +0000 (Mon, 26 Sep 2011)
Log Message:
-----------
always write first URL directly to pasteboard using stupid Cocoa method, 
because Apple does not automatically convert it anymore.

Modified Paths:
--------------
    trunk/bibdesk/BDSKItemPasteboardHelper.m

Modified: trunk/bibdesk/BDSKItemPasteboardHelper.m
===================================================================
--- trunk/bibdesk/BDSKItemPasteboardHelper.m    2011-09-26 06:35:25 UTC (rev 
18144)
+++ trunk/bibdesk/BDSKItemPasteboardHelper.m    2011-09-26 16:58:38 UTC (rev 
18145)
@@ -159,9 +159,9 @@
     }
     
     [self removePromisedType:NSURLPboardType forPasteboard:pboard];
+    [firstURL writeToPasteboard:pboard];
     if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_5) {
         [self removePromisedType:NSStringPboardType forPasteboard:pboard];
-        [firstURL writeToPasteboard:pboard];
         [pboard setString:[firstURL absoluteString] 
forType:NSStringPboardType];
         
         NSData *data = [(NSData *)CFURLCreateData(nil, (CFURLRef)firstURL, 
kCFStringEncodingUTF8, true) autorelease];

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to