Patch Email Change Default Font for Replies-Forwards from Navy to Black

From WebOS Internals
Revision as of 07:07, 15 November 2009 by Kansei (talk | contribs) (reorganized so that we don't have to find line numbers each time there's an update to the OS.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


By default, replies and forwards in the Mail app use a navy blue font colour. This is easily remedied by a single edit.

Procedure

Access Linux, and then issue the following commands:

Switch to the root user before beginning:

sudo su

You will be prompted for your user password.

Mount root read/write with:

mount -o remount,rw /

Edit the Email.js file:

vi /usr/palm/applications/com.palm.app.email/app/models/Email.js

Once the file is open in vi, type

/navy

and press return. This will search the file for the occurrence of the word "navy". Enter insert mode by pressing the "i" key and change the word "navy" to "black".

Press Escape to exit insert mode, then write and quit the file with

:wq

followed by pressing return. Don't forget to remount root read only with:

mount -o remount,ro /