Revision: 7805
http://skim-app.svn.sourceforge.net/skim-app/?rev=7805&view=rev
Author: hofman
Date: 2012-11-18 23:17:28 +0000 (Sun, 18 Nov 2012)
Log Message:
-----------
use URL instead of path
Modified Paths:
--------------
trunk/NSDocument_SKExtensions.m
Modified: trunk/NSDocument_SKExtensions.m
===================================================================
--- trunk/NSDocument_SKExtensions.m 2012-11-18 18:24:47 UTC (rev 7804)
+++ trunk/NSDocument_SKExtensions.m 2012-11-18 23:17:28 UTC (rev 7805)
@@ -72,12 +72,12 @@
// these are necessary for the app controller, we may change it there
- (NSDictionary *)currentDocumentSetup {
NSMutableDictionary *setup = [NSMutableDictionary dictionary];
- NSString *fileName = [[self fileURL] path];
+ NSURL *fileURL = [self fileURL];
- if (fileName) {
- NSData *data = [[BDAlias aliasWithPath:fileName] aliasData];
+ if (fileURL) {
+ NSData *data = [[BDAlias aliasWithURL:fileURL] aliasData];
- [setup setObject:fileName forKey:SKDocumentSetupFileNameKey];
+ [setup setObject:[fileURL path] forKey:SKDocumentSetupFileNameKey];
if(data)
[setup setObject:data forKey:SKDocumentSetupAliasKey];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit