diff --git a/toolkit/crashreporter/client/crashreporter_osx.h b/toolkit/crashreporter/client/crashreporter_osx.h index a753bc185eaf..0df856971cc4 100644 --- a/toolkit/crashreporter/client/crashreporter_osx.h +++ b/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/toolkit/crashreporter/client/crashreporter_osx.mm b/toolkit/crashreporter/client/crashreporter_osx.mm index 4a2e6855d5be..889a12e1054c 100644 --- a/toolkit/crashreporter/client/crashreporter_osx.mm +++ b/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/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/info.nib b/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/info.nib index de43cc106026..a97214a033da 100644 --- a/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/info.nib +++ b/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/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib b/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib index e7b0de090f1f..eecbc4213415 100644 Binary files a/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib and b/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib differ