From cd758551729e9ecf79a47d6a6227619af9de64d5 Mon Sep 17 00:00:00 2001 From: alexm Date: Sat, 8 Jun 2002 20:38:11 +0000 Subject: [PATCH] Make _miniaturizedImage default to the application icon. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13805 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/NSWindow.m | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 36b4faf5e..158052caa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-06-08 Alexander Malmberg + + * Source/NSWindow (-_initDefaults): Make _miniaturizedImage + default to the application icon. + 2002-06-08 Alexander Malmberg * Source/GSServicesProvider.m (-doService:): Only try to diff --git a/Source/NSWindow.m b/Source/NSWindow.m index 74dc656c4..4329aa0d4 100644 --- a/Source/NSWindow.m +++ b/Source/NSWindow.m @@ -3915,7 +3915,7 @@ resetCursorRectsForView(NSView *theView) _backgroundColor = RETAIN([NSColor controlColor]); _representedFilename = @"Window"; _miniaturizedTitle = @"Window"; - _miniaturizedImage = nil; + _miniaturizedImage = RETAIN([NSApp applicationIconImage]); _windowTitle = @"Window"; _lastPoint = NSZeroPoint; _windowLevel = NSNormalWindowLevel;