On Sat, Feb 21, 2009 at 11:32 AM, Melchior FRANZ <mfr...@aon.at> wrote:
>
>        setlistener(f ~ "/serviceable", failure[f], 0, 0);
>
>  0 ... trigger on change only

As I wrote in my other email, this doesn't work as expected. The
listener is triggered initially even if the property doesn't change.

Sébastien, I think your listeners should check the value of the
property. It might very well happen that a failed instrument is later
fixed, can't it? So the listeners would get triggered again and you'd
have to differentiate between failure and fixing. This would also make
the dialog-apply problem go away.

-- 
Csaba/Jester

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to