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

From WebOS Internals
Jump to navigation Jump to search
(New page: = Changing Alarm Clock Button Order and Snooze Duration= First we change the button order. The file containing the look of the alarm alert is /usr/palm/applications/com.palm.app.clock/app...)
 
Line 8: Line 8:
 
The default times are below :
 
The default times are below :
  
<pre><nowiki>
+
Alarm.kAlarmSnoozeDuration = "00:05:00";
Alarm.kAlarmSnoozeDuration = "00:05:00";
 
</nowiki></pre>
 
  
<pre><nowiki>
+
Alarm.kAlarmSnoozeInterruptedDuration = "00:05:00";
Alarm.kAlarmSnoozeInterruptedDuration = "00:05:00";
 
</nowiki></pre>
 
  
 
Reboot
 
Reboot
 
That's all!
 
That's all!
 
Thanks to optik678 for the alarm clock modification.
 
Thanks to optik678 for the alarm clock modification.

Revision as of 18:18, 29 July 2009

Changing Alarm Clock Button Order and Snooze Duration

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.