[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:
Fred Kiefer 2001-12-09 16:05:27 +00:00
parent 9a8ad9b5ab
commit 454645a625

View file

@ -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;