From 1f94a626bbd62260ad2da68232d66a8e1d5180b5 Mon Sep 17 00:00:00 2001 From: michael starke Date: Sun, 21 Jul 2013 14:22:44 +0200 Subject: [PATCH] Create new on activate disabled. There's a annoying bug in there :( --- MacPass/Base.lproj/GeneralSettings.xib | 159 ++++++++++++------------- MacPass/MPGeneralSettingsController.m | 5 +- MacPass/MacPass-Info.plist | 4 +- 3 files changed, 84 insertions(+), 84 deletions(-) diff --git a/MacPass/Base.lproj/GeneralSettings.xib b/MacPass/Base.lproj/GeneralSettings.xib index e9ed94ac..7440c042 100644 --- a/MacPass/Base.lproj/GeneralSettings.xib +++ b/MacPass/Base.lproj/GeneralSettings.xib @@ -45,19 +45,19 @@ 268 - + 12 - - + + 274 - + 268 {{16, 12}, {241, 18}} - + _NS:9 @@ -90,23 +90,23 @@ NO - - + + 268 {{16, 32}, {228, 18}} - + _NS:9 {250, 252} YES - - -2080374784 + + -1543503872 268435456 Create new Database if activated _NS:9 - + 1211912448 2 @@ -120,16 +120,16 @@ {{1, 1}, {364, 58}} - + - + _NS:11 {{17, 157}, {366, 74}} - + _NS:9 {0, 0} @@ -141,7 +141,7 @@ 11 3100 - + 6 System textBackgroundColor @@ -155,7 +155,7 @@ MCAwLjgwMDAwMDAxMTkAA - + 1 0 2 @@ -414,7 +414,6 @@ {{31, 12}, {122, 18}} - _NS:9 YES @@ -477,7 +476,7 @@ 0 Security - + 3 MCAwLjgwMDAwMDAxMTkAA @@ -493,7 +492,7 @@ {400, 251} - + NSView @@ -551,7 +550,7 @@ createUntitledOnActivation - + 920 @@ -602,11 +601,11 @@ 29 3 - + 3 0 - + 4 1 @@ -650,8 +649,8 @@ 40 3 - - + + 3 0 @@ -666,11 +665,11 @@ 40 3 - + 6 0 - + 6 1 @@ -683,7 +682,7 @@ 3 - + 5 0 @@ -698,7 +697,7 @@ 29 3 - + 8 0 @@ -730,7 +729,7 @@ 40 1 - + @@ -771,7 +770,7 @@ 9 3 - + 4 0 @@ -1279,10 +1278,10 @@ 888 - + - - + + 4 0 @@ -1292,76 +1291,76 @@ 11 1000 - + 9 40 3 - + 3 0 - + 4 1 6 1000 - + 9 40 3 - + 5 0 - + 5 1 16 1000 - + 8 29 3 - - + + 5 0 - + 5 1 16 1000 - + 8 29 3 - - + + 3 0 - + 3 1 25 1000 - + 9 40 3 - + @@ -1373,7 +1372,7 @@ 893 - + @@ -1382,7 +1381,7 @@ - + 531 @@ -1391,55 +1390,55 @@ 894 - - + + 879 - + - + - + 880 - - + + 896 - - + + 897 - - + + 903 - + 901 - - + + 898 - - + + 906 - + 916 - + @@ -1454,7 +1453,7 @@ 919 - + @@ -1465,13 +1464,13 @@ com.apple.InterfaceBuilder.CocoaPlugin - + - - + + - + @@ -1513,7 +1512,7 @@ - + @@ -1559,11 +1558,11 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - - - - - + + + + + com.apple.InterfaceBuilder.CocoaPlugin diff --git a/MacPass/MPGeneralSettingsController.m b/MacPass/MPGeneralSettingsController.m index b7d45c3c..84b59b12 100644 --- a/MacPass/MPGeneralSettingsController.m +++ b/MacPass/MPGeneralSettingsController.m @@ -33,7 +33,7 @@ NSString *const MPGeneralSetingsIdentifier = @"GeneralSettingsTab"; - (void)didLoadView { NSUserDefaultsController *defaultsController = [NSUserDefaultsController sharedUserDefaultsController]; NSString *reopenLastFilePath = [NSString stringWithFormat:@"values.%@", kMPSettingsKeyReopenLastDatabaseOnLaunch]; - NSString *createUntitledOnActivatePaht = [NSString stringWithFormat:@"values.%@", kMPSettingsKeyOpenEmptyDatabaseOnLaunch]; + //NSString *createUntitledOnActivatePaht = [NSString stringWithFormat:@"values.%@", kMPSettingsKeyOpenEmptyDatabaseOnLaunch]; NSString *clearPasteboardKeyPath = [NSString stringWithFormat:@"values.%@", kMPSettingsKeyClearPasteboardOnQuit]; NSString *clearPasteboardTimeOutKeyPath = [NSString stringWithFormat:@"values.%@", kMPSettingsKeyPasteboardClearTimeout]; NSString *idleTimeOutKeyPath = [NSString stringWithFormat:@"values.%@", kMPSettingsKeyIdleLockTimeOut]; @@ -43,6 +43,7 @@ NSString *const MPGeneralSetingsIdentifier = @"GeneralSettingsTab"; [self.lockOnSleepCheckButton bind:NSValueBinding toObject:defaultsController withKeyPath:lockOnSleepKeyPath options:nil]; [self.idleTimeOutPopup bind:NSSelectedTagBinding toObject:defaultsController withKeyPath:idleTimeOutKeyPath options:nil]; [self.reopenLastDatabase bind:NSValueBinding toObject:defaultsController withKeyPath:reopenLastFilePath options:nil]; - [self.createUntitledOnActivation bind:NSValueBinding toObject:defaultsController withKeyPath:createUntitledOnActivatePaht options:nil]; + [self.createUntitledOnActivation setState:NSOffState]; + //[self.createUntitledOnActivation bind:NSValueBinding toObject:defaultsController withKeyPath:createUntitledOnActivatePaht options:nil]; } @end diff --git a/MacPass/MacPass-Info.plist b/MacPass/MacPass-Info.plist index 6f306107..fab09767 100644 --- a/MacPass/MacPass-Info.plist +++ b/MacPass/MacPass-Info.plist @@ -44,11 +44,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.3.5 + 0.3.6 CFBundleSignature ???? CFBundleVersion - 2516 + 2517 LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSHumanReadableCopyright