Patch Clock Change Alarm Button Order

From WebOS Internals
Jump to navigation Jump to search


Change Alarm Button Order

The default order for the alarm buttons is to have the 'Dismiss' button on top, and the 'Snooze' button underneath. For some, this makes it too easy to accidentally dismiss an alarm instead of snoozing it, causing them to accidentally sleep in. The file containing the look of the alarm alert is /usr/palm/applications/com.palm.app.clock/app/views/ring/ring-scene.html. Swap lines 15 and 16 (WebOS 1.2.1) to reverse the order of the buttons.

Patch Source (button-order.patch)

<source lang="diff"> --- /usr/palm/applications/com.palm.app.clock/app/views/ring/ring-scene.html.bak 2009-07-18 01:22:36.000000000 -0400 +++ /usr/palm/applications/com.palm.app.clock/app/views/ring/ring-scene.html 2009-10-05 12:21:54.493217000 -0400 @@ -12,6 +12,6 @@

-

Dismiss
Snooze

+

Dismiss

\ No newline at end of file </source>