diff --git a/iReSign/en.lproj/MainMenu.xib b/iReSign/en.lproj/MainMenu.xib index 81ee229..c8d5116 100644 --- a/iReSign/en.lproj/MainMenu.xib +++ b/iReSign/en.lproj/MainMenu.xib @@ -411,27 +411,27 @@ 20746 100 - + 266 {{20, 103}, {208, 22}} YES - + -1267728319 272630784 com.companyname.appname - + YES NO - + 268 {{234, 105}, {88, 18}} @@ -439,13 +439,13 @@ _NS:9 YES - + 67108864 268435456 Change ID _NS:9 - + 1211912448 2 @@ -637,7 +637,7 @@ bundleIDField - + 576 @@ -645,10 +645,18 @@ changeBundleIDCheckbox - + 577 + + + changeBundleIDPressed: + + + + 578 + @@ -825,8 +833,8 @@ - - + + @@ -928,29 +936,29 @@ 572 - + - + 573 - - + + 574 - + - + 575 - - + + @@ -1008,7 +1016,7 @@ - 577 + 578 @@ -1017,6 +1025,7 @@ NSObject id + id id id id @@ -1026,6 +1035,10 @@ browse: id + + changeBundleIDPressed: + id + provisioningBrowse: id diff --git a/iReSign/iReSignAppDelegate.h b/iReSign/iReSignAppDelegate.h index a010dd2..41da3f3 100644 --- a/iReSign/iReSignAppDelegate.h +++ b/iReSign/iReSignAppDelegate.h @@ -48,6 +48,7 @@ - (IBAction)browse:(id)sender; - (IBAction)provisioningBrowse:(id)sender; - (IBAction)showHelp:(id)sender; +- (IBAction)changeBundleIDPressed:(id)sender; - (void)checkUnzip:(NSTimer *)timer; - (void)doProvisioning; diff --git a/iReSign/iReSignAppDelegate.m b/iReSign/iReSignAppDelegate.m index c835d26..c29fe13 100644 --- a/iReSign/iReSignAppDelegate.m +++ b/iReSign/iReSignAppDelegate.m @@ -13,7 +13,7 @@ @implementation iReSignAppDelegate - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { - [self resizeWindow:175]; + [self resizeWindow:225]; [flurry setAlphaValue:0.5]; defaults = [NSUserDefaults standardUserDefaults]; @@ -411,6 +411,15 @@ - (IBAction)showHelp:(id)sender { @"OK",nil, nil); } +- (IBAction)changeBundleIDPressed:(id)sender { + + if (sender != changeBundleIDCheckbox) { + return; + } + + bundleIDField.enabled = changeBundleIDCheckbox.state == NSOnState; +} + - (void)disableControls { [pathField setEnabled:FALSE]; [certField setEnabled:FALSE];