Patch Clock Change Alarm Button Order

From WebOS Internals
Revision as of 00:13, 3 August 2009 by Hopspitfire (talk | contribs)
Jump to navigation Jump to search


First we change the button order. The file containing the look of the alarm alert is /usr/palm/applications/com.palm.app.clock/app/views/ring/ring-scene.html

Simply swap lines 15 and 16 to put the snooze button on top.

Second we will change the alarm duration. It is located at lines 456 and 458 of /usr/palm/applications/com.palm.app.clock/app/models/alarm.js

The default times are below :

Alarm.kAlarmSnoozeDuration = "00:10:00";
Alarm.kAlarmSnoozeInterruptedDuration = "00:05:00";

Just change the time durations.

Reboot

That's all!

Thanks to optik678 for the alarm clock modification.

Updated by ShaneM 31-Jul-09 (1.1 OK)