mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 23:10:38 +00:00
Workspace manager interoperability improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22410 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8403cc0691
commit
b9f1bdd4f0
3 changed files with 87 additions and 13 deletions
|
@ -2485,6 +2485,19 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
|
|||
RELEASE(limit);
|
||||
}
|
||||
}
|
||||
if (app == nil && port != nil && [host isEqual: @""] == YES)
|
||||
{
|
||||
/*
|
||||
* The application is not running on this host ... fake a termination
|
||||
* notification for it and use that to remove it from the on-disk
|
||||
* list of launched applications.
|
||||
*/
|
||||
GSLaunched([NSNotification
|
||||
notificationWithName: NSWorkspaceDidTerminateApplicationNotification
|
||||
object: self
|
||||
userInfo: [NSDictionary dictionaryWithObject: port
|
||||
forKey: @"NSApplicationName"]], NO);
|
||||
}
|
||||
TEST_RELEASE(when);
|
||||
return app;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue