Re: GAppInfo and the working directory



On Thu, Jan 28, 2010 at 9:49 AM, Alexander Larsson <alexl redhat com> wrote:
> On Thu, 2010-01-28 at 07:43 -0500, Paul Davis wrote:
>> On Thu, Jan 28, 2010 at 3:34 AM, Alexander Larsson <alexl redhat com>
>> wrote:
>>
>>   * discovering the file(s) used to spawn the application (by
>> dbl-click)
>>   * noticing requests to open new files driven by dbl-clicking in a
>> file manager
>
> I'm not sure exactly what you mean here? Do you mean clicking on a
> document file and then opening the file with the right application? If
> so, isn't that exactly what GAppInfo & co does?

yes, but it doesn't do this on OS X. there is no implementation for OS
X at all as far as i could tell. the usual story :)

>>   * handling requests to quit that come from sources other than the
>> apps own menus/shortcuts or the WM. OS X has several such sources.
>
> Can you give some examples?

* applescript events
* finder telling the app to quit, possibly user-initiated
* some internal cocoa methods that initiate a quit knowing that it
will be handled by the app delegate (rare)
* system shutdown


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