Difference between revisions of "Patch Clock Change Alarm Button Order"
Hopspitfire (talk | contribs) (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...) |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | = | + | {{template:patch}} |
− | + | ==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 @@ | |
− | + | </div> | |
− | < | + | </div> |
− | + | </div> | |
− | </ | + | - <div id="close_button" x-mojo-tap-highlight="immediate" class="palm-notification-button affirmative"><span x-mojo-loc="">Dismiss</span></div> |
− | + | <div id="snooze_button" x-mojo-tap-highlight="immediate" class="palm-notification-button alternate"><span x-mojo-loc="">Snooze</span></div> | |
− | < | + | + <div id="close_button" x-mojo-tap-highlight="immediate" class="palm-notification-button affirmative"><span x-mojo-loc="">Dismiss</span></div> |
− | + | </div> | |
− | </ | + | \ No newline at end of file |
− | + | </source> | |
− | |||
− | |||
− |
Latest revision as of 16:26, 5 October 2009
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 @@
-
+
\ No newline at end of file </source>