mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +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
f15b1a56b7
commit
15fa68d502
3 changed files with 13 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-06-04 08:11 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Headers/Additions/GNUstepGUI/GSNibTemplates.h: Minor update to
|
||||
constant name.
|
||||
* Source/GSNibTemplates.m: Use new constant name, and move call
|
||||
to autoPositionWindow: outside of class name check.
|
||||
|
||||
2005-06-04 07:36 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Headers/Additions/GNUstepGUI/GSNibTemplates.h: Constants for new
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
/** Window template autopositioning constants */
|
||||
enum {
|
||||
GSWindowAutosizeNone = 0,
|
||||
GSWindowAutoPositionNone = 0,
|
||||
GSWindowMinXMargin = 1,
|
||||
GSWindowMaxXMargin = 2,
|
||||
GSWindowMinYMargin = 4,
|
||||
|
|
|
@ -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…
Reference in a new issue