Changeset 75
- Timestamp:
- 06/28/07 19:13:36 (1 year ago)
- Files:
-
- trunk/SapphireBrowser.m (modified) (2 diffs)
- trunk/SapphireSettings.m (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/SapphireBrowser.m
r74 r75 235 235 - (void) wasBuriedByPushingController: (BRLayerController *) controller 236 236 { 237 // The user chose an option and this controller os no longer on screen237 // The user chose an option and this controller is no longer on screen 238 238 239 239 // always call super … … 342 342 [result setLeftIcon:[[SapphireTheme sharedTheme] blueGemForScene:[self scene]]]; 343 343 else if(favorite)[result setLeftIcon:[[SapphireTheme sharedTheme] yellowGemForScene:[self scene]]]; 344 else [result setLeftIcon:[[SapphireTheme sharedTheme] redGemForScene:[self scene]]]; 344 345 345 346 // add text trunk/SapphireSettings.m
r68 r75 27 27 #define HIDE_SPOILERS_KEY @"HideSpoilers" 28 28 #define HIDE_UI_QUIT_KEY @"HideUIQuit" 29 #define ENABLE_FAST_SWITCHING_KEY @"EnableFastSwitching" 29 30 #define DISABLE_ANON_KEY @"DisableAnonymousReporting" 30 31 … … 54 55 /* @" Hide Show Spoilers",*/ 55 56 @" Hide UI Quit", 57 @" Fast Directory Switching", 56 58 @" Disable Anonymous Reporting", nil]; 57 keys = [[NSArray alloc] initWithObjects:@"", HIDE_FAVORITE_KEY, /*HIDE_TOP_SHOWS_KEY, */HIDE_UNWATCHED_KEY, /*HIDE_SPOILERS_KEY, */HIDE_UI_QUIT_KEY, DISABLE_ANON_KEY, nil]; 59 60 keys = [[NSArray alloc] initWithObjects: @"", 61 HIDE_FAVORITE_KEY, 62 /*HIDE_TOP_SHOWS_KEY, */ 63 HIDE_UNWATCHED_KEY, 64 /*HIDE_SPOILERS_KEY, */ 65 HIDE_UI_QUIT_KEY, 66 ENABLE_FAST_SWITCHING_KEY, 67 DISABLE_ANON_KEY, nil]; 68 58 69 path = [dictionaryPath retain]; 59 70 options = [[NSDictionary dictionaryWithContentsOfFile:dictionaryPath] mutableCopy]; … … 64 75 [NSNumber numberWithBool:NO], HIDE_SPOILERS_KEY, 65 76 [NSNumber numberWithBool:YES], HIDE_UI_QUIT_KEY, 77 [NSNumber numberWithBool:YES], ENABLE_FAST_SWITCHING_KEY, 66 78 [NSNumber numberWithBool:NO], DISABLE_ANON_KEY, 67 79 nil]; … … 128 140 { 129 141 return [self boolForKey:DISABLE_ANON_KEY]; 142 } 143 144 - (BOOL)fastSwitching 145 { 146 return [self boolForKey:ENABLE_FAST_SWITCHING_KEY]; 147 130 148 } 131 149 … … 222 240 /* if(row==2)[result setRightIcon:[[SapphireTheme sharedTheme] greenGemForScene:[self scene]]];*/ 223 241 if(row==2)[result setRightIcon:[[SapphireTheme sharedTheme] blueGemForScene:[self scene]]]; 224 /* if(row==4)[result setRightIcon:[[SapphireTheme sharedTheme] redGemForScene:[self scene]]];*/ 225 if(row==3)[result setRightIcon:[[SapphireTheme sharedTheme] coneGemForScene:[self scene]]]; 242 /* if(row==3)[result setRightIcon:[[SapphireTheme sharedTheme] redGemForScene:[self scene]]];*/ 243 if(row==4)[result setRightIcon:[[SapphireTheme sharedTheme] coneGemForScene:[self scene]]]; 244 if(row==5)[result setRightIcon:[[SapphireTheme sharedTheme] coneGemForScene:[self scene]]]; 226 245 227 246
