mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
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:
parent
7d98f0f270
commit
353db5256c
3 changed files with 17 additions and 0 deletions
|
@ -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:):
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1152,6 +1152,10 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
|
|||
}
|
||||
return [self _launchApplication: appName arguments: args];
|
||||
}
|
||||
else
|
||||
{
|
||||
[app activateIgnoringOtherApps:YES];
|
||||
}
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue