Revert to creating the app icon in finishLaunching, since existing

applications that do not use NSApplicationMain otherwise won't get an
app icon.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33242 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2011-06-04 08:42:33 +00:00
parent 28a429af26
commit 139afd0eef
3 changed files with 9 additions and 9 deletions

View file

@ -996,6 +996,8 @@ static NSSize scaledIconSizeForSize(NSSize imageSize)
BOOL didAutoreopen = NO;
NSArray *files = nil;
[self _appIconInit];
/* post notification that launch will finish */
[nc postNotificationName: NSApplicationWillFinishLaunchingNotification
object: self];