2004-09-05 06:23 Matt Rice <ratmice@yahoo.com>

* Source/GSServicesManager.m: new method -activateIgnoringOtherApps:
        * Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:):
        call -activateIgnoringOtherApps: on the remote connection to an already
        running app.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19998 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2004-09-05 13:46:13 +00:00
parent 7d98f0f270
commit 353db5256c
3 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2004-09-05 06:23 Matt Rice <ratmice@yahoo.com>
* Source/GSServicesManager.m: new method -activateIgnoringOtherApps:
* Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:):
call -activateIgnoringOtherApps: on the remote connection to an already
running app.
2004-09-04 23:32 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):

View file

@ -76,6 +76,7 @@ static GSServicesManager *manager = nil;
- (void) dealloc;
- (void) release;
- (id) retain;
- (void) activateIgnoringOtherApps: (BOOL)flag;
- (id) self;
@end
@ -388,6 +389,11 @@ NSRegisterServicesProvider(id provider, NSString *name)
return self;
}
- (void) activateIgnoringOtherApps: (BOOL)flag
{
[NSApp activateIgnoringOtherApps:flag];
}
- (id) self
{
return self;

View file

@ -1152,6 +1152,10 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
}
return [self _launchApplication: appName arguments: args];
}
else
{
[app activateIgnoringOtherApps:YES];
}
return YES;
}