Corrected bug #3269

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19225 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-05-01 13:41:47 +00:00
parent 8f7aedada1
commit 47bb6523c7
2 changed files with 18 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2004-05-01 09:44 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Added implementation for unhide: to bring forward the
document window as well as any other windows. This corrects
Report #3269.
2004-05-01 09:03 Gregory John Casamento <greg_casamento@yahoo.com>
* GormNSMenu.m: [GormNSMenu _createWindow] added call to

15
Gorm.m
View file

@ -589,9 +589,9 @@ NSString *GormResizeCellNotification = @"GormResizeCellNotification";
}
else
{
NSDictionary *nameTable = [doc nameTable];
NSEnumerator *enumerator = [nameTable keyEnumerator];
NSString *key = nil;
// NSDictionary *nameTable = [doc nameTable];
// NSEnumerator *enumerator = [nameTable keyEnumerator];
// NSString *key = nil;
// order everything front.
[[doc window] makeKeyAndOrderFront: self];
@ -1488,6 +1488,15 @@ NSString *GormResizeCellNotification = @"GormResizeCellNotification";
{
return classMenu;
}
- (void) unhide: (id)sender
{
id document = [self activeDocument];
id window = [document window];
[super unhide: sender];
[window orderFront: sender];
}
@end
// custom class additions...