Changeset 61

Show
Ignore:
Timestamp:
06/27/07 19:59:29 (5 years ago)
Author:
pmerrill
Message:

Added Hide UI Quit to settings menu

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/SapphireSettings.m

    r59 r61  
    2626#define HIDE_UNWATCHED_KEY      @"HideUnwatched" 
    2727#define HIDE_SPOILERS_KEY       @"HideSpoilers" 
     28#define HIDE_UI_QUIT_KEY @"HideUIQuit" 
    2829#define DISABLE_ANON_KEY        @"DisableAnonymousReporting" 
     30 
    2931 
    3032+ (SapphireSettings *)sharedSettings 
     
    5153                                                                                                @"   Hide \"Unwatched Shows\"",  
    5254                                                                                                @"   Hide Show Spoilers", 
     55                                                                                                @"   Hide UI Quit", 
    5356                                                                                                @"   Disable Anonymous Reporting", nil]; 
    54         keys = [[NSArray alloc] initWithObjects:@"", HIDE_FAVORITE_KEY, HIDE_TOP_SHOWS_KEY, HIDE_UNWATCHED_KEY, HIDE_SPOILERS_KEY, DISABLE_ANON_KEY, nil]; 
     57        keys = [[NSArray alloc] initWithObjects:@"", HIDE_FAVORITE_KEY, HIDE_TOP_SHOWS_KEY, HIDE_UNWATCHED_KEY,  HIDE_UI_QUIT_KEY,HIDE_SPOILERS_KEY, DISABLE_ANON_KEY, nil]; 
    5558        path = [dictionaryPath retain]; 
    5659        options = [[NSDictionary dictionaryWithContentsOfFile:dictionaryPath] mutableCopy]; 
     
    198201        if(row==3)[result setRightIcon:[[SapphireTheme sharedTheme] blueGemForScene:[self scene]]]; 
    199202        if(row==4)[result setRightIcon:[[SapphireTheme sharedTheme] redGemForScene:[self scene]]]; 
     203        if(row==5)[result setRightIcon:[[SapphireTheme sharedTheme] coneGemForScene:[self scene]]]; 
    200204 
    201205