Revision: 5290
http://skim-app.svn.sourceforge.net/skim-app/?rev=5290&view=rev
Author: hofman
Date: 2009-03-31 12:14:51 +0000 (Tue, 31 Mar 2009)
Log Message:
-----------
Use proper fallback location for Sparkle UI
Modified Paths:
--------------
trunk/vendorsrc/andymatuschak/Sparkle/SUWindowController.m
Modified: trunk/vendorsrc/andymatuschak/Sparkle/SUWindowController.m
===================================================================
--- trunk/vendorsrc/andymatuschak/Sparkle/SUWindowController.m 2009-03-30
16:57:29 UTC (rev 5289)
+++ trunk/vendorsrc/andymatuschak/Sparkle/SUWindowController.m 2009-03-31
12:14:51 UTC (rev 5290)
@@ -15,7 +15,7 @@
NSString *path = [[NSBundle bundleForClass:[self class]]
pathForResource:nibName ofType:@"nib"];
if (path == nil) // Slight hack to resolve issues with running Sparkle
in debug configurations.
{
- NSString *frameworkPath = [[host sharedFrameworksPath]
stringByAppendingPathComponent:@"Sparkle.framework"];
+ NSString *frameworkPath = [[[host bundle] sharedFrameworksPath]
stringByAppendingPathComponent:@"Sparkle.framework"];
NSBundle *framework = [NSBundle bundleWithPath:frameworkPath];
path = [framework pathForResource:nibName ofType:@"nib"];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit