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.

git-svn-id: svn://10.0.0.236/trunk@144366 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com 2003-07-02 00:13:40 +00:00
parent 06a9326aec
commit df6a4e9f2a
2 changed files with 0 additions and 8 deletions

View File

@ -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;

View File

@ -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
{