mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 22:10:47 +00:00
Change the Arrange in Front command to order only the application's
non-miniaturized windows front and not deminiaturize any miniaturized windows. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31103 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ea21f14abd
commit
2b0602d6d3
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-08-09 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||||
|
|
||||||
|
* Source/NSApplication.m (-arrangeInFront:): Only order
|
||||||
|
non-miniaturized windows front.
|
||||||
|
|
||||||
2010-08-09 Wolfgang Lux <wolfgang.lux@gmail.com>
|
2010-08-09 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||||
|
|
||||||
* Source/NSTextView.m (-draggingEntered:, -draggingUpdated): Fix
|
* Source/NSTextView.m (-draggingEntered:, -draggingUpdated): Fix
|
||||||
|
|
|
@ -2515,7 +2515,7 @@ image.</p><p>See Also: -applicationIconImage</p>
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Arranges all app's windows in front by successively calling
|
* Arranges all non-miniaturized app's windows in front by successively calling
|
||||||
* [NSWindow-orderFront:] on each window in the app's Windows menu.
|
* [NSWindow-orderFront:] on each window in the app's Windows menu.
|
||||||
*/
|
*/
|
||||||
- (void) arrangeInFront: (id)sender
|
- (void) arrangeInFront: (id)sender
|
||||||
|
@ -2535,7 +2535,8 @@ image.</p><p>See Also: -applicationIconImage</p>
|
||||||
{
|
{
|
||||||
id win = [(NSMenuItem*)[itemArray objectAtIndex: i] target];
|
id win = [(NSMenuItem*)[itemArray objectAtIndex: i] target];
|
||||||
|
|
||||||
if ([win isKindOfClass: [NSWindow class]])
|
if ([win isKindOfClass: [NSWindow class]] &&
|
||||||
|
[win isVisible] && ![win isMiniaturized])
|
||||||
{
|
{
|
||||||
[win orderFront: sender];
|
[win orderFront: sender];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue