зеркало из https://github.com/mozilla/pjs.git
Bug 421841 - "Breakpad continually sends the same crash report over and over until you manually stop it" (add (void)closeMeDown; method, call it instead of closeClicked) [p=beltzner@mozilla.com (Mike Beltzner) r=ted/luser a=blocking1.9+]
This commit is contained in:
Родитель
1c7d2d6f10
Коммит
9c6cf914af
|
@ -86,6 +86,7 @@
|
|||
- (void)showErrorUI:(const std::string&)dumpfile;
|
||||
- (void)showReportInfo;
|
||||
- (void)maybeSubmitReport;
|
||||
- (void)closeMeDown;
|
||||
|
||||
- (IBAction)submitReportClicked:(id)sender;
|
||||
- (IBAction)viewReportClicked:(id)sender;
|
||||
|
|
|
@ -236,6 +236,11 @@ static bool RestartApplication()
|
|||
}
|
||||
}
|
||||
|
||||
-(void)closeMeDown
|
||||
{
|
||||
[NSApp terminate:self];
|
||||
}
|
||||
|
||||
-(IBAction)submitReportClicked:(id)sender
|
||||
{
|
||||
[self updateSubmit];
|
||||
|
@ -492,7 +497,7 @@ static bool RestartApplication()
|
|||
string:Str(ST_SUBMITFAILED)
|
||||
resizeWindow:YES];
|
||||
// quit after 5 seconds
|
||||
[self performSelector:@selector(closeClicked:) withObject:self
|
||||
[self performSelector:@selector(closeMeDown:) withObject:nil
|
||||
afterDelay:5.0];
|
||||
}
|
||||
|
||||
|
@ -577,7 +582,7 @@ static bool RestartApplication()
|
|||
resizeWindow:YES];
|
||||
}
|
||||
// quit after 5 seconds
|
||||
[self performSelector:@selector(closeClicked:) withObject:self
|
||||
[self performSelector:@selector(closeMeDown:) withObject:nil
|
||||
afterDelay:5.0];
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче