mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:30:53 +00:00
Minor updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21285 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e28e4f3bc5
commit
b138e32d70
3 changed files with 13 additions and 6 deletions
|
@ -746,7 +746,7 @@ static NSString *GSInternalNibItemAddedNotification = @"_GSInternalNibItemAddedN
|
|||
BOOL changedOrigin = NO;
|
||||
|
||||
// reposition the window on the screen.
|
||||
if (_autoPositionMask == GSWindowAutosizeNone)
|
||||
if (_autoPositionMask == GSWindowAutoPositionNone)
|
||||
return;
|
||||
|
||||
/*
|
||||
|
@ -827,7 +827,7 @@ static NSString *GSInternalNibItemAddedNotification = @"_GSInternalNibItemAddedN
|
|||
{
|
||||
// decode the defer flag...
|
||||
[coder decodeValueOfObjCType: @encode(BOOL) at: &_deferFlag];
|
||||
_autoPositionMask = GSWindowAutosizeNone;
|
||||
_autoPositionMask = GSWindowAutoPositionNone;
|
||||
_screenRect = [[_object screen] frame];
|
||||
}
|
||||
|
||||
|
@ -847,10 +847,10 @@ static NSString *GSInternalNibItemAddedNotification = @"_GSInternalNibItemAddedN
|
|||
|
||||
// set the content view back
|
||||
[obj setContentView: contentView];
|
||||
|
||||
// autoposition window
|
||||
[self autoPositionWindow: obj];
|
||||
}
|
||||
|
||||
// autoposition window
|
||||
[self autoPositionWindow: obj];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue