Minor fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16695 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2003-05-11 14:49:11 +00:00
parent 9156489012
commit eaa254f35b
2 changed files with 9 additions and 2 deletions

View file

@ -827,8 +827,13 @@ static NSCell* tileCell = nil;
[nc postNotificationName: NSApplicationDidFinishLaunchingNotification
object: self];
userInfo = [NSDictionary dictionaryWithObject:
[[NSProcessInfo processInfo] processName] forKey: @"NSApplicationName"];
userInfo = [NSDictionary dictionaryWithObjectsAndKeys:
[[NSProcessInfo processInfo] processName], @"NSApplicationName",
[[NSBundle mainBundle] bundlePath], @"NSApplicationPath",
[NSNumber numberWithInt: [[NSProcessInfo processInfo] processIdentifier]],
@"NSApplicationProcessIdentifier",
nil];
NS_DURING
[[workspace notificationCenter]
postNotificationName: NSWorkspaceDidLaunchApplicationNotification