mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 23:31:02 +00:00
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:
parent
bbdf75548a
commit
0bdd1b569f
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue