Make sure NSApplicationIcon is always a registered image

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15560 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 2003-01-09 04:29:35 +00:00
parent d295f6c0f0
commit a1e98f89dd
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,10 @@
Thu Jan 9 05:17:22 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m ([-_appIconInit]): If no app icon has
been set, set GNUstep as the applicationIcon by calling
setApplicationIconImage: so that the default image gets also
registered with name NSApplicationIconImage.
2003-01-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m
@ -16,7 +23,7 @@
* Source/NSClipView.m
Use method calls in [initWithCoder:] so opaque flag is set
correctly.
Tue Dec 31 16:30:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Model/GNUmakefile: Build gmodel bundle when GUI_LIB is gnu, not

View file

@ -2456,7 +2456,9 @@ delegate.
NSAppIconView *iv;
if (_app_icon == nil)
_app_icon = RETAIN([NSImage imageNamed: @"GNUstep"]);
{
[self setApplicationIconImage: [NSImage imageNamed: @"GNUstep"]];
}
_app_icon_window = [[NSIconWindow alloc] initWithContentRect:
NSMakeRect(0,0,64,64)