Commit 250bd59a6a3456e27829d3b35b1996c3b7a62509

  • avatar
  • Daniel Beames <dBsooner @dbt…nk.com>
  • Fri Nov 06 08:02:15 CET 2009
email-add-priority-discard-btns.patch
  
1Name: Add Priority Discard Btns
2Version: 1.2.1-12120
3Author: mamouton
4Description: 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.
5
61--- .orig/usr/palm/applications/com.palm.app.email/app/controllers/compose-assistant.js
72+++ /usr/palm/applications/com.palm.app.email/app/controllers/compose-assistant.js
83@@ -79,6 +79,7 @@
1818 ]};
1919
2020 this.draftIsDirty = false;
21@@ -89,8 +91,8 @@
22 this.appMenuModel = {
23 visible:true,
24 items: [
25- this.priorityFlagMenuItem,
26- {label:$L('Discard Message'), command:'cancel'},
27+ //this.priorityFlagMenuItem,
28+ //{label:$L('Discard Message'), command:'cancel'},
29 {label:$L('Save as Draft'), command:'save', disabledProperty:true }
30 ]};
31 this.controller.setupWidget(Mojo.Menu.appMenu, {richTextEditMenu: true}, this.appMenuModel);
32@@ -185,7 +187,8 @@
33 }
34
35 // Delayed a little, since we want the header part of render as quickly as possible
36- ComposeAssistant.onLoad.defer(this.controller, this.email);
37+ComposeAssistant.onLoad.defer(this.controller, this.email);
38+this.controller.window.PalmSystem.setWindowOrientation("free");
39 },
40
41 cleanup: function() {
42@@ -236,7 +239,15 @@
21@@ -236,7 +238,15 @@
4322 break;
4423
4524 case 'cancel':