Fix bug 267403, Reload and Stop toolbar buttons don't update until an event is posted to the run queue. r=Chris Lawson, BruceD, sr=pink

This commit is contained in:
nick.kreeger%park.edu 2006-07-05 15:10:44 +00:00
parent c0eb1ff2ff
commit 82759ecb3f
2 changed files with 2 additions and 1 deletions

View File

@ -1538,6 +1538,7 @@ enum BWCOpenDest {
[mProgress stopAnimation:self];
[self hideProgressIndicator];
[mProgress setIndeterminate:YES];
[[[self window] toolbar] validateVisibleItems];
}
}

View File

@ -458,6 +458,7 @@ static NSString* const kOfflineNotificationName = @"offlineModeChanged";
{
[mDelegate loadingDone:mActivateOnLoad];
mActivateOnLoad = NO;
mIsBusy = NO;
[mDelegate setLoadingActive:NO];
@ -478,7 +479,6 @@ static NSString* const kOfflineNotificationName = @"offlineModeChanged";
[mTabItem setLabel:tabTitle];
mProgress = 1.0;
mIsBusy = NO;
// tell the bookmarks when a url loaded.
// note that this currently fires even when you go Back of Forward to the page,