This patch is a response to Artifact ID 3084853 (which can be found at https://sourceforge.net/tracker/?func=detail&aid=3084853&group_id=198330&atid=965044\). I have slightly rearranged the layout of the Alarm preferences window, as well as added a checkbox to allow the user to decide if they want the alarm timer to reset on each motion detection or not. I have also updated the user defaults to set this feature to on by default.
The soundAlarm: method of AppController has been updated to only disable the motion sensor if the feature is switched off. The motionTriggered: method of AppController has been updated to check if the feature is on and the alarm is already sounding. If so, it simply resets the alarm timer. If not, it triggers the alarm by the normal method.
This patch has been tested on Mac OS X 10.6.4, using XCode 3.2.3, and all appears to be working fine. Unfortunately, the layout change has only been made in the English version.
Thanks for the patch. I was planning to do something about this one in the next or one-after release. I'll aim at integrating your changes in 0.70.
ezsource
This has been integrated into release 0.70.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).