diff --git a/AppKit/CPApplication.j b/AppKit/CPApplication.j index 10891a2b9..ebf94d46c 100644 --- a/AppKit/CPApplication.j +++ b/AppKit/CPApplication.j @@ -958,6 +958,12 @@ CPRunContinuesResponse = -1002; [self._activeMenu cancelTracking]; } ++ (CPString)defaultThemeName +{ + // FIXME: don't hardcode + return @"Aristo.blend"; +} + @end var _CPModalSessionMake = function(aWindow, aStopCode) @@ -1062,7 +1068,7 @@ var _CPAppBootstrapperActions = nil; + (BOOL)loadDefaultTheme { - var blend = [[CPThemeBlend alloc] initWithContentsOfURL:[[CPBundle bundleForClass:[CPApplication class]] pathForResource:@"Aristo.blend"]]; + var blend = [[CPThemeBlend alloc] initWithContentsOfURL:[[CPBundle bundleForClass:[CPApplication class]] pathForResource:[CPApplication defaultThemeName]]]; [blend loadWithDelegate:self];