зеркало из https://github.com/mozilla/pjs.git
Fix crash when a new page loads while the previous page's context menu is active, and Customize is in the toolbar (bug 168051). r=pinkerton.
This commit is contained in:
Родитель
7d44cd87c1
Коммит
e6b3e2f653
|
@ -199,7 +199,6 @@ typedef enum
|
|||
- (void)loadURL:(NSString*)aURLSpec referrer:(NSString*)aReferrer activate:(BOOL)activate;
|
||||
- (void)updateLocationFields:(NSString *)locationString;
|
||||
- (void)updateSiteIcons:(NSImage *)siteIconImage;
|
||||
- (void)updateToolbarItems;
|
||||
- (void)loadingStarted;
|
||||
- (void)loadingDone;
|
||||
- (void)focusURLBar;
|
||||
|
|
|
@ -982,21 +982,14 @@ static NSArray* sToolbarDefaults = nil;
|
|||
|
||||
- (void)loadingStarted
|
||||
{
|
||||
[self updateToolbarItems];
|
||||
[self startThrobber];
|
||||
}
|
||||
|
||||
- (void)loadingDone
|
||||
{
|
||||
[self updateToolbarItems];
|
||||
[self stopThrobber];
|
||||
[mHistoryDataSource refresh];
|
||||
}
|
||||
|
||||
- (void)updateToolbarItems
|
||||
{
|
||||
[[[self window] toolbar] validateVisibleItems];
|
||||
}
|
||||
|
||||
- (void)performAppropriateLocationAction
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче