Browse Source

Verbose logging disabled and setting default parameter.

v1.2.3
Abhishek Banthia 9 years ago
parent
commit
954bb257e3
  1. 9
      Clocker/ApplicationDelegate.m

9
Clocker/ApplicationDelegate.m

@ -70,8 +70,8 @@ void *kContextActivePanel = &kContextActivePanel;
//Configure iRate
[iRate sharedInstance].useAllAvailableLanguages = NO;
[iVersion sharedInstance].useAllAvailableLanguages = NO;
[[iRate sharedInstance] setVerboseLogging:YES];
[[iVersion sharedInstance] setVerboseLogging:YES];
[[iRate sharedInstance] setVerboseLogging:NO];
[[iVersion sharedInstance] setVerboseLogging:NO];
}
#pragma mark - NSApplicationDelegate
@ -129,6 +129,11 @@ void *kContextActivePanel = &kContextActivePanel;
[[NSUserDefaults standardUserDefaults] setObject:@0 forKey:CLShowPlaceInMenu];
}
NSNumber *showAppInForeground = [[NSUserDefaults standardUserDefaults] objectForKey:CLShowAppInForeground];
if (showAppInForeground == nil) {
[[NSUserDefaults standardUserDefaults] setObject:@1 forKey:CLShowAppInForeground];
}
NSNumber *startClockerAtLogin = [[NSUserDefaults standardUserDefaults] objectForKey:CLStartAtLogin];
if (startClockerAtLogin == nil) {
[[NSUserDefaults standardUserDefaults] setObject:@0 forKey:CLStartAtLogin];

Loading…
Cancel
Save