bug 401960 Red Close button doesn't quit crash reporter. r=campd

This commit is contained in:
ted.mielczarek@gmail.com 2007-11-19 18:15:03 -08:00
parent 515ad5f12b
commit 4ac0b6877e
4 changed files with 12 additions and 4 deletions

View File

@ -93,6 +93,8 @@
- (void)uploadThread:(id)post;
- (void)uploadComplete:(id)data;
-(BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication*)theApplication;
@end
#endif

View File

@ -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 === */

View File

@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
<string>128 190 504 836 0 0 1920 1178 </string>
<string>413 68 834 587 0 0 1440 878 </string>
<key>IBEditorPositions</key>
<dict>
<key>282</key>
@ -13,7 +13,7 @@
<key>356</key>
<string>684 695 551 213 0 0 1920 1178 </string>
<key>386</key>
<string>492 520 456 164 0 0 1440 878 </string>
<string>718 215 456 164 0 0 1440 878 </string>
</dict>
<key>IBFramework Version</key>
<string>446.1</string>
@ -26,11 +26,11 @@
<integer>2</integer>
<key>IBOpenObjects</key>
<array>
<integer>21</integer>
<integer>29</integer>
<integer>386</integer>
<integer>21</integer>
</array>
<key>IBSystem Version</key>
<string>8P2137</string>
<string>8R2218</string>
</dict>
</plist>