Changeset 998

Show
Ignore:
Timestamp:
12/18/08 14:17:45 (1 year ago)
Author:
gbooker
Message:
  • Patch by capri91 to correct the display of the external subs checkbox
  • Connected the outlet in the nib for the external subs checkbox
  • Warning remove on unsigned int
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CPFPerianPrefPaneController.m

    r970 r998  
    8787} 
    8888 
    89 - (int)getIntFromKey:(CFStringRef)key forAppID:(CFStringRef)appID withDefault:(int)defaultValue 
     89- (unsigned int)getUnsignedIntFromKey:(CFStringRef)key forAppID:(CFStringRef)appID withDefault:(int)defaultValue 
    9090{ 
    9191        CFPropertyListRef value; 
    92         int ret = defaultValue; 
     92        unsigned int ret = defaultValue; 
    9393         
    9494        value = CFPreferencesCopyAppValue(key, appID); 
     
    381381         
    382382        /* A52 Prefs */ 
    383         int twoChannelMode = [self getIntFromKey:AC3TwoChannelModeKey forAppID:a52AppID withDefault:0xffffffff]; 
     383        unsigned int twoChannelMode = [self getUnsignedIntFromKey:AC3TwoChannelModeKey forAppID:a52AppID withDefault:0xffffffff]; 
    384384        if(twoChannelMode != 0xffffffff) 
    385385        { 
     
    413413         
    414414        [self setAC3DynamicRange:[self getFloatFromKey:AC3DynamicRangeKey forAppID:a52AppID withDefault:1.0]]; 
     415 
     416        if([self getBoolFromKey:ExternalSubtitlesKey forAppID:perianAppID withDefault:YES]) 
     417                [button_loadExternalSubtitles setState:1]; 
     418        else 
     419                [button_loadExternalSubtitles setState:0]; 
    415420} 
    416421 
  • trunk/PerianPrefPane.nib/info.nib

    r950 r998  
    44<dict> 
    55        <key>IBFramework Version</key> 
    6         <string>672</string> 
     6        <string>677</string> 
    77        <key>IBLastKnownRelativeProjectPath</key> 
    88        <string>Perian.xcodeproj</string>