10/11/2009, 09:30 PM
|
#1 (permalink) |
|
Member
![]() Join Date: Oct 2009
Posts: 197
Likes Received: 7
Thanks: 15
Thanked 27 Times in 21 Posts
|
So I have heard from a lot of people have been using the Pre as their morning alarm. It goes off and they roll over half asleep and tap their Pre and go back to sleep. they wake up a few hours later realizing there are late for work due to accidentally hitting dismiss instead of snooze. Well I have your solution to this!!!
The patch will put some space between the Dismiss and Snooze Buttons. Right now this is manual application of the patch until I figure out how to create an official patch to add to the repository for automatic patching. **Pre Must Be Rooted** Log into your Pre to have access to the linux terminal. navigate to /usr/palm/applications/com.palm.app.clock/app/views/ring/ Code:
cd /usr/palm/applications/com.palm.app.clock/app/views/ring/ Code:
vi ring-scene.html Code:
<div class="system-notification" style="height: 200px; position: fixed; bottom: 0"> Code:
<div class="system-notification" style="height: 275px; position: fixed; bottom: 0"> Code:
i ***Once you are done changing height to 275 Press Esc to get out of Edit mode*** Fine Following Lines (Should be Line # 15 & 16) Code:
<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>
Code:
<div id="close_button" x-mojo-tap-highlight="immediate" class="palm-notification-button affirmative"><span x-mojo-loc="">Dismiss</span></div>
<br>
<br>
<div id="snooze_button" x-mojo-tap-highlight="immediate" class="palm-notification-button alternate"><span x-mojo-loc="">Snooze</span></div>
***Press Code:
Shift Button ZZ now that you are back at the Terminal navigate to: /usr/palm/applications/com.palm.app.clock/app/controllers Edit app-assistant.js (vi app-assistant.js) Find Following Line (Line # 139): Code:
"height": 200, Code:
"height": 350, Done!!!! Will look like attached Image |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



