Index: trunk/ChameleonPrefPane/Sources/ChameleonPrefPane.mm =================================================================== --- trunk/ChameleonPrefPane/Sources/ChameleonPrefPane.mm (revision 392) +++ trunk/ChameleonPrefPane/Sources/ChameleonPrefPane.mm (revision 393) @@ -239,8 +239,10 @@ [mStatusText setTextColor: [NSColor grayColor] ]; NSString* ns = [ [NSString alloc] initWithUTF8String:BootProp::instance().propFilePath() ]; [mStatusText setStringValue: [NSString stringWithFormat: @"bootConfig: %@", ns] ]; - [[BootSetupController instance]->mBootConfigPathText setStringValue: - [[NSString alloc] initWithUTF8String: BootProp::instance().propFilePath()] ]; + BootSetupController* bsc = [BootSetupController instance]; + [bsc->mBootConfigPathText setStringValue: [[NSString alloc] initWithUTF8String: BootProp::instance().propFilePath()] ]; + [bsc->mBootExtraPathText setStringValue: [[bsc->mBootConfigPathText stringValue] stringByDeletingLastPathComponent] ]; + [bsc->mBootCdbootPathText setStringValue: [[bsc->mBootConfigPathText stringValue] stringByDeletingLastPathComponent]]; } Index: trunk/ChameleonPrefPane/Sources/ChameleonPrefPane.h =================================================================== --- trunk/ChameleonPrefPane/Sources/ChameleonPrefPane.h (revision 392) +++ trunk/ChameleonPrefPane/Sources/ChameleonPrefPane.h (revision 393) @@ -14,6 +14,7 @@ // Constants definition #define keyForceBootConfigPath @"forceBootConfigPath" +#define keyCdBootPath @"CdBootPath" #define keySwapHD01 @"swapHD01" #define keySwapHD02 @"swapHD02" #define keyUseFrozenParts @"useFrozenParts" Index: trunk/ChameleonPrefPane/Sources/BootSetupController.mm =================================================================== --- trunk/ChameleonPrefPane/Sources/BootSetupController.mm (revision 392) +++ trunk/ChameleonPrefPane/Sources/BootSetupController.mm (revision 393) @@ -68,7 +68,8 @@ forKey: keyForceBootConfigPath]; [mBootConfigPathText setEnabled: val ? true : false]; [mBootConfigPathText setEditable: val ? true : false]; - + [mBootExtraPathText setStringValue: [[mBootConfigPathText stringValue] stringByDeletingLastPathComponent]]; + [mBootCdbootPathText setStringValue: [[mBootConfigPathText stringValue] stringByDeletingLastPathComponent]]; } //-------------------------------------------------------------------------- @@ -244,6 +245,9 @@ if(f) { [mBootConfigPathText setStringValue:f]; + [mBootExtraPathText setStringValue: [f stringByDeletingLastPathComponent] ]; + [mBootCdbootPathText setStringValue: [[mBootConfigPathText stringValue] stringByDeletingLastPathComponent]]; + [f release]; } }