nib changes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23074 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-06-17 14:56:02 +00:00
parent 1c824fd1aa
commit 6ce43e3549
4 changed files with 15 additions and 5 deletions

View file

@ -1,3 +1,11 @@
2006-06-17 10:54 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormCustomView.m: Return self in the conditional that
reads the custom view.
* GormCore/GormInternalViewEditor.m: Reset the current view size
so that the window is properly displayed.
* Palettes/1Windows/GormNSWindow.m: Send deferred as "NO" always.
2006-06-17 06:53 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormNibWrapperLoader.m: Added code to clear changes

View file

@ -95,6 +95,7 @@
[self setClassName: [customView className]];
_autoresizingMask = [customView autoresizingMask];
RELEASE(customView);
return self;
}
else
{

View file

@ -139,6 +139,7 @@ static NSImage *horizontalImage;
}
else if ([[superview window] contentView] == _editedObject)
{
[self setFrame: [_editedObject frame]];
[[superview window] setContentView: self];
}
else if ([superview isKindOfClass: [NSClipView class]])

View file

@ -67,10 +67,10 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
_gormStyleMask = aStyle;
// _originalContentRect = contentRect;
self = [super initWithContentRect: contentRect
styleMask: defaultStyleMask
backing: bufferingType
defer: flag
screen: aScreen];
styleMask: defaultStyleMask
backing: bufferingType
defer: NO // always no, because this isn't recorded here...
screen: aScreen];
if(self != nil)
{
// Don't release when the window is closed, a window being edited may
@ -81,7 +81,7 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
[self setMiniwindowImage: nil];
// set the default position mask;
autoPositionMask = GSWindowMaxXMargin | GSWindowMaxYMargin;
autoPositionMask = GSWindowMaxXMargin | GSWindowMinYMargin;
}
return self;