Difference between revisions of "Patch Clock Change Alarm Button Order"

From WebOS Internals
Jump to navigation Jump to search
Line 8: Line 8:
  
 
  Alarm.kAlarmSnoozeDuration = "00:05:00";
 
  Alarm.kAlarmSnoozeDuration = "00:05:00";
 
 
  Alarm.kAlarmSnoozeInterruptedDuration = "00:05:00";
 
  Alarm.kAlarmSnoozeInterruptedDuration = "00:05:00";
  

Revision as of 18:18, 29 July 2009

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 379 and 381 of /usr/palm/applications/com.palm.app.clock/app/models/alarm.js

The default times are below :

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

Reboot That's all! Thanks to optik678 for the alarm clock modification.