Commit 250bd59a6a3456e27829d3b35b1996c3b7a62509
email-add-priority-discard-btns.patch
| |   |
| Name: Add Priority Discard Btns |
| Version: 1.2.1-12120 |
| Author: mamouton |
| Description: This will place a high priority icon and a discard message icon at the bottom of your current message. Special thanks to Tibfib for adding the confirmation for the discard message and removing the options from the menu area. |
|
| 6 | 1 | --- .orig/usr/palm/applications/com.palm.app.email/app/controllers/compose-assistant.js |
| 7 | 2 | +++ /usr/palm/applications/com.palm.app.email/app/controllers/compose-assistant.js |
| 8 | 3 | @@ -79,6 +79,7 @@ |
| … | … | |
| 18 | 18 | ]}; |
| 19 | 19 | |
| 20 | 20 | this.draftIsDirty = false; |
| @@ -89,8 +91,8 @@ |
| this.appMenuModel = { |
| visible:true, |
| items: [ |
| - this.priorityFlagMenuItem, |
| - {label:$L('Discard Message'), command:'cancel'}, |
| + //this.priorityFlagMenuItem, |
| + //{label:$L('Discard Message'), command:'cancel'}, |
| {label:$L('Save as Draft'), command:'save', disabledProperty:true } |
| ]}; |
| this.controller.setupWidget(Mojo.Menu.appMenu, {richTextEditMenu: true}, this.appMenuModel); |
| @@ -185,7 +187,8 @@ |
| } |
| |
| // Delayed a little, since we want the header part of render as quickly as possible |
| - ComposeAssistant.onLoad.defer(this.controller, this.email); |
| +ComposeAssistant.onLoad.defer(this.controller, this.email); |
| +this.controller.window.PalmSystem.setWindowOrientation("free"); |
| }, |
| |
| cleanup: function() { |
| @@ -236,7 +239,15 @@ |
| @@ -236,7 +238,15 @@ |
| 43 | 22 | break; |
| 44 | 23 | |
| 45 | 24 | case 'cancel': |