On Thu, 06 Oct 2005 10:50:22 +0200, Saso wrote:
> Quoting Roman Belenov <[EMAIL PROTECTED]>:
> > 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


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to