mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
[NSIconWindow _initDefaults] set the title of the icon window, so
the window manager can display it. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11666 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9a8ad9b5ab
commit
454645a625
1 changed files with 3 additions and 0 deletions
|
@ -263,6 +263,9 @@ NSApplication *NSApp = nil;
|
|||
- (void) _initDefaults
|
||||
{
|
||||
[super _initDefaults];
|
||||
// Set the title of the window to the process name. Even as the
|
||||
// window shows no title bar, the window manager may show it.
|
||||
[self setTitle: [[NSProcessInfo processInfo] processName]];
|
||||
[self setExcludedFromWindowsMenu: YES];
|
||||
[self setReleasedWhenClosed: NO];
|
||||
_windowLevel = NSDockWindowLevel;
|
||||
|
|
Loading…
Reference in a new issue