diff --git a/mozilla/toolkit/crashreporter/client/crashreporter_osx.h b/mozilla/toolkit/crashreporter/client/crashreporter_osx.h index a753bc185ea..0df856971cc 100644 --- a/mozilla/toolkit/crashreporter/client/crashreporter_osx.h +++ b/mozilla/toolkit/crashreporter/client/crashreporter_osx.h @@ -93,6 +93,8 @@ - (void)uploadThread:(id)post; - (void)uploadComplete:(id)data; +-(BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication*)theApplication; + @end #endif diff --git a/mozilla/toolkit/crashreporter/client/crashreporter_osx.mm b/mozilla/toolkit/crashreporter/client/crashreporter_osx.mm index 4a2e6855d5b..889a12e1054 100644 --- a/mozilla/toolkit/crashreporter/client/crashreporter_osx.mm +++ b/mozilla/toolkit/crashreporter/client/crashreporter_osx.mm @@ -433,6 +433,12 @@ static bool RestartApplication() [autoreleasepool release]; } +// to get auto-quit when we close the window +-(BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication*)theApplication +{ + return YES; +} + @end /* === Crashreporter UI Functions === */ diff --git a/mozilla/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/info.nib b/mozilla/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/info.nib index de43cc10602..a97214a033d 100644 --- a/mozilla/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/info.nib +++ b/mozilla/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/info.nib @@ -3,7 +3,7 @@ IBDocumentLocation - 128 190 504 836 0 0 1920 1178 + 413 68 834 587 0 0 1440 878 IBEditorPositions 282 @@ -13,7 +13,7 @@ 356 684 695 551 213 0 0 1920 1178 386 - 492 520 456 164 0 0 1440 878 + 718 215 456 164 0 0 1440 878 IBFramework Version 446.1 @@ -26,11 +26,11 @@ 2 IBOpenObjects + 21 29 386 - 21 IBSystem Version - 8P2137 + 8R2218 diff --git a/mozilla/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib b/mozilla/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib index e7b0de090f1..eecbc421341 100644 Binary files a/mozilla/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib and b/mozilla/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib differ