Commit 555fe83192b8fe2d81c5baa7d7d0b5593c2c7994

  • avatar
  • Daniel Beames <webos @dbso…er.com>
  • Thu Jan 07 07:35:42 CET 2010
email-swap-reply2all-with-move-v2 for 1.3.5
  
1Copyright (c) 2010 mikePre <rizmail@gmail.com>
2
3Permission is hereby granted, free of charge, to any person
4obtaining a copy of this software and associated documentation
5files (the "Software"), to deal in the Software without
6restriction, including without limitation the rights to use,
7copy, modify, merge, publish, distribute, sublicense, and/or sell
8copies of the Software, and to permit persons to whom the
9Software is furnished to do so, subject to the following
10conditions:
11
12The above copyright notice and this permission notice shall be
13included in all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22OTHER DEALINGS IN THE SOFTWARE.
  
1Name: Reply2All for Move v2
2Version: 1.3.5-1
3Author: Jason Robitaille, dBsooner ,mikepre
4Description: This will replace the 'Reply to All' button with the 'Move to Folder' menu option. The 'Reply to All' is moved to the menu. Add shortcut to ReplyAll, change shortcut for SetFlag to 'f', change shortcut for mark unread to 'u'. Cannot have both Reply2All patches applied at same time
5
6--- .orig/usr/palm/applications/com.palm.app.email/app/controllers/message-assistant.js
7+++ /usr/palm/applications/com.palm.app.email/app/controllers/message-assistant.js
8@@ -72,6 +72,7 @@
9 this.cmdMenuModel = {
10 visible:true,
11 items: [
12+ {label:$L('Move'), icon:'file', command:'move'},
13 {label:$L('Reply'), icon:'reply', command:'reply'},
14 {label:$L('Reply all'), icon:'reply-all', command:'replyAll'},
15 {label:$L('Forward'), icon:'forward-email', command:'forward'},
16@@ -73,7 +74,6 @@
17 visible:true,
18 items: [
19 {label:$L('Reply'), icon:'reply', command:'reply'},
20- {label:$L('Reply all'), icon:'reply-all', command:'replyAll'},
21 {label:$L('Forward'), icon:'forward-email', command:'forward'},
22 {label:$L('Delete'), icon:'delete', command:'delete'}
23 ]};
24@@ -79,8 +79,8 @@
25 ]};
26 this.controller.setupWidget(Mojo.Menu.commandMenu, undefined, this.cmdMenuModel);
27
28- this.markUnreadMenuItem = {label:MessageAssistant.kAppMenuMarkUnread, shortcut:'k', command:'mark-unread'};
29- this.markSetFlagMenuItem = {label:MessageAssistant.kAppMenuSetFlag, shortcut:'g', command:'flag'};
30+ this.markUnreadMenuItem = {label:MessageAssistant.kAppMenuMarkUnread, shortcut:'u', command:'mark-unread'};
31+ this.markSetFlagMenuItem = {label:MessageAssistant.kAppMenuSetFlag, shortcut:'f', command:'flag'};
32 this.showRecipientsMenuItem = {label:MessageAssistant.kAppMenuShowRecipients, shortcut:'s', command:'show-recipients'};
33
34 this.appMenuAttrs = {
35@@ -106,7 +106,7 @@
36 emailEditItems,
37 this.markUnreadMenuItem,
38 this.markSetFlagMenuItem,
39- {label:$L('Move to Folder...'), shortcut:'m', command:'move'},
40+ {label:$L('Reply all'), shortcut:'r',command:'replyAll'},
41 this.showRecipientsMenuItem,
42 Mojo.Menu.prefsItem,
43 Mojo.Menu.helpItem