2004-11-09 19:00 Alexander Malmberg <alexander@malmberg.org>

* Tools/gpbs.m (main): If we get a -GSStartupNotification argument,
	post the notification after initializing. Fixes bug #10876.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20327 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2004-11-09 18:02:08 +00:00
parent c1adbba9c0
commit 95813706e3
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-11-09 19:00 Alexander Malmberg <alexander@malmberg.org>
* Tools/gpbs.m (main): If we get a -GSStartupNotification argument,
post the notification after initializing. Fixes bug #10876.
2004-11-04 Adrian Robert <arobert@cogsci.ucsd.edu>
* Source/x11/XGServerEvent.m (process_key_event): Modifier detection:

View file

@ -1358,6 +1358,16 @@ main(int argc, char** argv, char **env)
{
NSLog(@"GNU pasteboard server startup.\n");
}
if ([[NSUserDefaults standardUserDefaults]
stringForKey: @"GSStartupNotification"])
{
[[NSDistributedNotificationCenter defaultCenter]
postNotificationName: [[NSUserDefaults standardUserDefaults]
stringForKey: @"GSStartupNotification"]
object: nil];
}
[[NSRunLoop currentRunLoop] run];
RELEASE(server);
RELEASE(pool);