mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
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:
parent
8f7aedada1
commit
47bb6523c7
2 changed files with 18 additions and 3 deletions
|
@ -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
15
Gorm.m
|
@ -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...
|
||||
|
|
Loading…
Reference in a new issue