Set Email as High Priority & Discard Message
Jump to navigation
Jump to search
I really don't like using the menu options. After seeing Jason's move folder patch, I started thinking how can I move the High Priority and Discard message to the bottom.
Always make a backup copy.
cd /usr/palm/applications/com.palm.app.email/app/controllers/ cp compose-assistant.js compose-assistant.js.bak vi compose-assistant.js
Around line 82 you will see
this.cmdMenuModel = { visible: true, menuClass: 'palm-white', items: [ {label:$L('Attach'), icon:'attach', command:'attach'}, {label:('Send'), icon:'send', command:'send'} ]};
add the lines
{label:$L('Priority'), icon:'priority', command:'priority'}, {label:$L('Delete'),icon:'delete', command:'cancel'},
to make it look like this
this.cmdMenuModel = { visible: true, menuClass: 'palm-white', items: [ {label:$L('Attach'), icon:'attach', command:'attach'}, {label:$L('Priority'), icon:'priority', command:'priority'}, {label:$L('Delete'),icon:'delete', command:'cancel'}, {label:('Send'), icon:'send', command:'send'} ]};
Special Thanks to Jason on Precentral for the realization that menu items could be moved and the creator of the Read All Delete All patch for the icons.