Minor fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16409 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2003-04-10 05:36:19 +00:00
parent bbdf75548a
commit 0bdd1b569f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSServicesManager.m: on opening file, only activate for
document based applications as suggested by Alexander.
2003-04-10 01:53 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-_generateGlyphs_char_r::::::): Fix

View file

@ -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;