mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 12:11:20 +00:00
* Source/NSApplication.m: For hide: perform miniaturizeAll:
on Windows, since hiding the app causes it to be inaccessible on that platform. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29281 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2f3f77f8bd
commit
c36c29e8ff
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2010-01-14 07:08-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
|
* Source/NSApplication.m: For hide: perform miniaturizeAll:
|
||||||
|
on Windows, since hiding the app causes it to be inaccessible on
|
||||||
|
that platform.
|
||||||
|
|
||||||
2010-01-14 04:07-EST Gregory John Casamento <greg.casamento@gmail.com>
|
2010-01-14 04:07-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
* Source/NSToolbarFrameworkPrivate.h: Correct include for new
|
* Source/NSToolbarFrameworkPrivate.h: Correct include for new
|
||||||
|
|
|
@ -2346,6 +2346,9 @@ image.</p><p>See Also: -applicationIconImage</p>
|
||||||
*/
|
*/
|
||||||
- (void) hide: (id)sender
|
- (void) hide: (id)sender
|
||||||
{
|
{
|
||||||
|
#ifdef __MINGW32__
|
||||||
|
[self miniaturizeAll: sender];
|
||||||
|
#else
|
||||||
if (_app_is_hidden == NO)
|
if (_app_is_hidden == NO)
|
||||||
{
|
{
|
||||||
NSArray *windows_list;
|
NSArray *windows_list;
|
||||||
|
@ -2424,6 +2427,7 @@ image.</p><p>See Also: -applicationIconImage</p>
|
||||||
object: [NSWorkspace sharedWorkspace]
|
object: [NSWorkspace sharedWorkspace]
|
||||||
userInfo: info];
|
userInfo: info];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**<p>Returns whether app is currently in hidden state.</p>
|
/**<p>Returns whether app is currently in hidden state.</p>
|
||||||
|
|
Loading…
Reference in a new issue