diff --git a/ChangeLog b/ChangeLog index 927932c60..28a8c2293 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-04-10 Richard Frith-Macdonald + + * Source/GSServicesManager.m: on opening file, only activate for + document based applications as suggested by Alexander. + 2003-04-10 01:53 Alexander Malmberg * Source/GSLayoutManager.m (-_generateGlyphs_char_r::::::): Fix diff --git a/Source/GSServicesManager.m b/Source/GSServicesManager.m index 86669cc82..b232d64e4 100644 --- a/Source/GSServicesManager.m +++ b/Source/GSServicesManager.m @@ -406,7 +406,6 @@ static NSString *disabledName = @".GNUstepDisabled"; id del = [NSApp delegate]; BOOL result = NO; - [NSApp activateIgnoringOtherApps: YES]; if ([del respondsToSelector: _cmd]) { result = [del application: theApp openFile: file]; @@ -414,6 +413,7 @@ static NSString *disabledName = @".GNUstepDisabled"; else if ([[NSDocumentController sharedDocumentController] openDocumentWithContentsOfFile: file display: YES] != nil) { + [NSApp activateIgnoringOtherApps: YES]; result = YES; } return result;