Revision: 5571
http://skim-app.svn.sourceforge.net/skim-app/?rev=5571&view=rev
Author: hofman
Date: 2009-08-20 20:24:47 +0000 (Thu, 20 Aug 2009)
Log Message:
-----------
check also "Aquamacs" for "Aquamacs Emacs" tex editor preset, as they're in the
process of changing the app name
Modified Paths:
--------------
trunk/SKPDFDocument.m
Modified: trunk/SKPDFDocument.m
===================================================================
--- trunk/SKPDFDocument.m 2009-08-20 14:10:56 UTC (rev 5570)
+++ trunk/SKPDFDocument.m 2009-08-20 20:24:47 UTC (rev 5571)
@@ -1596,8 +1596,10 @@
NSFileManager *fm = [NSFileManager defaultManager];
if ([editorPreset isEqualToString:@""] == NO) {
- if ((path = [[NSWorkspace sharedWorkspace]
fullPathForApplication:editorPreset]) &&
- (appBundle = [NSBundle bundleWithPath:path])) {
+ path = [[NSWorkspace sharedWorkspace]
fullPathForApplication:editorPreset];
+ if (path == nil && [editorPreset isEqualToString:@"Aquamacs
Emacs"])
+ path = [[NSWorkspace sharedWorkspace]
fullPathForApplication:@"Aquamacs"];
+ if (path && (appBundle = [NSBundle bundleWithPath:path])) {
[searchPaths addObject:[appBundle sharedSupportPath]];
[searchPaths addObject:[appBundle resourcePath]];
if ([editorPreset isEqualToString:@"BBEdit"] == NO)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit