mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Reverted previous change, it had some unintended side effects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21505 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bdc52169e7
commit
534babbb2d
3 changed files with 8 additions and 20 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-07-20 23:39 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Palettes/1Windows/GormNSPanel.m
|
||||
* Palettes/1Windows/GormNSWindow.m: Reverted previous change.
|
||||
|
||||
2005-07-19 00:35 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Palettes/1Windows/GormNSPanel.m
|
||||
|
|
|
@ -111,26 +111,6 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
|
|||
}
|
||||
|
||||
/*
|
||||
- (void) orderWindow: (NSWindowOrderingMode)place relativeTo: (int)otherWin
|
||||
{
|
||||
id<IBDocuments> document = [(id<IB>)NSApp documentForObject: self];
|
||||
[super orderWindow: place relativeTo: otherWin];
|
||||
if([NSApp isConnecting] == NO)
|
||||
{
|
||||
id editor = [document editorForObject: self create: NO];
|
||||
|
||||
// select myself.
|
||||
if([editor respondsToSelector: @selector(selectObjects:)])
|
||||
{
|
||||
[editor selectObjects: [NSArray arrayWithObject: self]];
|
||||
}
|
||||
|
||||
[document setSelectionFromEditor: editor];
|
||||
[editor makeSelectionVisible: YES];
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
- (void) sendEvent: (NSEvent*)theEvent
|
||||
{
|
||||
NSView *v;
|
||||
|
@ -169,4 +149,5 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
|
|||
|
||||
[super sendEvent: theEvent];
|
||||
}
|
||||
*/
|
||||
@end
|
||||
|
|
|
@ -132,6 +132,7 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
|
|||
autoPositionMask = mask;
|
||||
}
|
||||
|
||||
/*
|
||||
- (void) sendEvent: (NSEvent*)theEvent
|
||||
{
|
||||
NSView *v;
|
||||
|
@ -170,4 +171,5 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
|
|||
|
||||
[super sendEvent: theEvent];
|
||||
}
|
||||
*/
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue