Revision: 11546
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11546&view=rev
Author: hofman
Date: 2007-11-11 11:03:44 -0800 (Sun, 11 Nov 2007)
Log Message:
-----------
Use path again.
Modified Paths:
--------------
branches/TRY_ARM_FILE_INTERFACE/bibdesk/BibItem.m
Modified: branches/TRY_ARM_FILE_INTERFACE/bibdesk/BibItem.m
===================================================================
--- branches/TRY_ARM_FILE_INTERFACE/bibdesk/BibItem.m 2007-11-11 18:55:48 UTC
(rev 11545)
+++ branches/TRY_ARM_FILE_INTERFACE/bibdesk/BibItem.m 2007-11-11 19:03:44 UTC
(rev 11546)
@@ -1684,7 +1684,7 @@
}
}
if (!drop) {
- value = [self filesAsBibTeXFragmentRelativeToPath:[[self
baseURLForAliasFile:nil] path]];
+ value = [self filesAsBibTeXFragmentRelativeToPath:[self basePath]];
if (value) [s appendString:value];
}
[knownKeys release];
@@ -2424,12 +2424,12 @@
#pragma mark -
#pragma mark URL handling
-- (NSString *)basePathForAliasFile:(BDSKAliasFile *)file {
+- (NSString *)basePath {
return [[[[self owner] fileURL] path] stringByDeletingLastPathComponent];
}
- (NSURL *)baseURLForAliasFile:(BDSKAliasFile *)file {
- NSString *basePath = [[[[self owner] fileURL] path]
stringByDeletingLastPathComponent];
+ NSString *basePath = [self basePath];
return basePath ? [NSURL fileURLWithPath:basePath] : nil;
}
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/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit