Improved fix for bringing all windows to front.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19237 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-05-05 02:15:54 +00:00
parent c68cb685cd
commit f7811cbfdb
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2004-05-02 22:18 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: [Gorm unhide:] improvement over previous fix to bring
all things to front. The code now toggles the active status of
the document to cause all of the windows of the document to come
to the front when the icon is clicked.
2004-05-02 18:35 Gregory John Casamento <greg_casamento@yahoo.com>
* GormImageEditor.m: Added code to allow it to resize the cells

2
Gorm.m
View file

@ -1495,6 +1495,8 @@ NSString *GormResizeCellNotification = @"GormResizeCellNotification";
id window = [document window];
[super unhide: sender];
[(GormDocument *)document setDocumentActive: NO];
[(GormDocument *)document setDocumentActive: YES];
[window orderFront: sender];
}
@end