diff --git a/ChangeLog b/ChangeLog index 926b58be2..aa57b3e2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Thu Jan 9 05:17:22 2003 Nicola Pero + + * 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 * 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 * Model/GNUmakefile: Build gmodel bundle when GUI_LIB is gnu, not diff --git a/Source/NSApplication.m b/Source/NSApplication.m index f35722bc7..047c72240 100644 --- a/Source/NSApplication.m +++ b/Source/NSApplication.m @@ -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)