mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 07:21:06 +00:00
Do not call openFile: if only one file is supplied, as noted in 10.3 release notes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35357 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6dc25f660a
commit
b4be94c241
2 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2012-08-06 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
|
* Source/GSServicesManager.m
|
||||||
|
Do not call openFile: if only one file is supplied, as noted in 10.3 release notes.
|
||||||
|
(Thanks to Wolfgang for looking it up)
|
||||||
|
|
||||||
2012-08-06 Riccardo Mottola <rm@gnu.org>
|
2012-08-06 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
* Source/NSApplication.m
|
* Source/NSApplication.m
|
||||||
|
|
|
@ -596,11 +596,7 @@ static NSString *disabledName = @".GNUstepDisabled";
|
||||||
{
|
{
|
||||||
id del = [NSApp delegate];
|
id del = [NSApp delegate];
|
||||||
|
|
||||||
if ([files count] == 1)
|
if ([del respondsToSelector: _cmd])
|
||||||
{
|
|
||||||
[self application: theApp openFile: [files objectAtIndex:0]];
|
|
||||||
}
|
|
||||||
else if ([del respondsToSelector: _cmd])
|
|
||||||
{
|
{
|
||||||
[del application: theApp openFiles: files];
|
[del application: theApp openFiles: files];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue