discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep and session management


From: Chris Vetter
Subject: Re: GNUstep and session management
Date: Thu, 6 Oct 2005 12:11:53 +0200 (MEST)

On Thu, 06 Oct 2005 10:50:22 +0200, Saso wrote:
> Quoting Roman Belenov <rbelenov@yandex.ru>:
> > Is there a fallback for applications that don't explicitly observe this
> > notification (like passing terminate: to NSApplication instance) ? What
> > about OpenStep or Mac OS X - do they have something like that ?
> In theory, when the workspace (or session manager) sends
> NSWorkspaceWillPowerOffNotification, every running application (and thus
> also it's app delegate object) is sent -applicationSholdTerminate to find 
> out whether to proceed. However, I haven't used it on GNUstep yet, so no
> clue as to how reliable this is.

I actually played around with NSWorkspaceWillPowerOffNotification last night
by posting this notification in one application, explicitly listening for it
in another and a third without a listener.

Neither of the three applications got a -applicationShouldTerminate:

-- 
Chris

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner




reply via email to

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