discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApplication openFiles


From: Riccardo Mottola
Subject: Re: NSApplication openFiles
Date: Tue, 07 Aug 2012 15:55:52 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120715 Firefox/14.0.1 SeaMonkey/2.11

Hi,

Wolfgang Lux wrote:
I think it would be a better idea to always perform
   [_listener application: self openFiles: files];
in NSApplication (even if there is only one file).

In GSServicesManager you could then use this code (beware I didn' test this):
I liked your suggestion. i refined it to handle the special case of "1" file only too. It appears to work fine, I will commit it later!

Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]