mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
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:
parent
c0eb1ff2ff
commit
82759ecb3f
@ -1538,6 +1538,7 @@ enum BWCOpenDest {
|
||||
[mProgress stopAnimation:self];
|
||||
[self hideProgressIndicator];
|
||||
[mProgress setIndeterminate:YES];
|
||||
[[[self window] toolbar] validateVisibleItems];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user