mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
* Source/NSToolbar.m: (-windowDidUpdate:): Automatically update
the toolbar on every window update. This makes sure that no matter what window an event happens in the toolbar gets properly updated for ALL windows. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27827 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f980764a02
commit
9ef46af7f5
2 changed files with 8 additions and 8 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-02-09 20:16-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSToolbar.m: (-windowDidUpdate:): Automatically update
|
||||
the toolbar on every window update. This makes sure that
|
||||
no matter what window an event happens in the toolbar gets
|
||||
properly updated for ALL windows.
|
||||
|
||||
2009-02-08 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSWorkspace.m (-findApplications): Retain cached path of
|
||||
|
|
|
@ -306,14 +306,7 @@ static GSValidationCenter *vc = nil;
|
|||
|
||||
- (void) windowDidUpdate: (NSNotification *)notification
|
||||
{
|
||||
// NSLog(@"Window update %d", [[NSApp currentEvent] type]);
|
||||
|
||||
if (!_inside || _validating || [[NSApp currentEvent] type] == NSMouseMoved)
|
||||
return;
|
||||
// _validating permits in the case the UI/window is refreshed by a validation to
|
||||
// avoid have windowDidUpdate called, which would cause a loop like that :
|
||||
// validate -> view update -> windowDidUpdate -> validate etc.
|
||||
|
||||
// Validate the toolbar for each update of the window.
|
||||
[self validate];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue