diff --git a/mozilla/mail/app/icons/windows/abcardWindow.ico b/mozilla/mail/app/icons/windows/abcardWindow.ico index 1055081b87b..e78a15c42bd 100644 Binary files a/mozilla/mail/app/icons/windows/abcardWindow.ico and b/mozilla/mail/app/icons/windows/abcardWindow.ico differ diff --git a/mozilla/mail/app/icons/windows/addressbookWindow.ico b/mozilla/mail/app/icons/windows/addressbookWindow.ico index 1055081b87b..e78a15c42bd 100644 Binary files a/mozilla/mail/app/icons/windows/addressbookWindow.ico and b/mozilla/mail/app/icons/windows/addressbookWindow.ico differ diff --git a/mozilla/mail/app/icons/windows/msgcomposeWindow.ico b/mozilla/mail/app/icons/windows/msgcomposeWindow.ico index 91ad21292c5..a6d5c8e6f28 100644 Binary files a/mozilla/mail/app/icons/windows/msgcomposeWindow.ico and b/mozilla/mail/app/icons/windows/msgcomposeWindow.ico differ diff --git a/mozilla/mail/app/profile/mailnews.js b/mozilla/mail/app/profile/mailnews.js index 29b50bcb428..cec9a105b8e 100644 --- a/mozilla/mail/app/profile/mailnews.js +++ b/mozilla/mail/app/profile/mailnews.js @@ -463,7 +463,15 @@ pref("mail.content_disposition_type", 0); pref("mailnews.show_send_progress", true); //Will show a progress dialog when saving or sending a message pref("mail.server.default.retainBy", 1); -pref("mailnews.ui.junk.firstuse", true); +pref("mailnews.ui.junk.firstuse", true); + +// for manual upgrades of certain UI features. +// 1 -> 2 is for the thread pane tree landing, to hide the +// labels column, see msgMail3PaneWindow.js +// 2 -> 3 is for the junk status column +// 3 -> 4 is for the sender column +// 4 -> 5 is for the attachment column +pref("mailnews.ui.threadpane.version", 1); //If set to a number greater than 0, msg compose windows will be recycled in order to open them quickly pref("mail.compose.max_recycled_windows", 1); diff --git a/mozilla/mail/base/content/commandglue.js b/mozilla/mail/base/content/commandglue.js index b0e1d01ffe1..e0122399a9f 100644 --- a/mozilla/mail/base/content/commandglue.js +++ b/mozilla/mail/base/content/commandglue.js @@ -507,7 +507,10 @@ function ConvertColumnIDToSortType(columnID) break; case "idCol": sortKey = nsMsgViewSortType.byId; - break; + break; + case "attachmentCol": + sortKey = nsMsgViewSortType.byAttachments; + break; default: dump("unsupported sort column: " + columnID + "\n"); sortKey = 0; @@ -568,6 +571,9 @@ function ConvertSortTypeToColumnID(sortKey) case nsMsgViewSortType.byJunkStatus: columnID = "junkStatusCol"; break; + case nsMsgViewSortType.byAttachments: + columnID = "attachmentCol"; + break; default: dump("unsupported sort key: " + sortKey + "\n"); columnID = null; diff --git a/mozilla/mail/base/content/hiddenWindow.js b/mozilla/mail/base/content/hiddenWindow.js index 89a96af3114..3ae867e4600 100755 --- a/mozilla/mail/base/content/hiddenWindow.js +++ b/mozilla/mail/base/content/hiddenWindow.js @@ -49,7 +49,7 @@ function hiddenWindowStartup() 'sortByDateMenuitem', 'sortByFlagMenuitem', 'sortByOrderReceivedMenuitem', 'sortByPriorityMenuitem', 'sortBySenderMenuitem', 'sortByRecipientMenuitem', 'sortBySenderOrRecipientMenuitem', 'sortBySizeMenuitem', 'sortByStatusMenuitem', 'sortBySubjectMenuitem', 'sortByThreadMenuitem', 'sortByUnreadMenuitem', - 'sortByLabelMenuitem', 'sortByJunkStatusMenuitem', 'sortAscending', 'sortDescending', + 'sortByLabelMenuitem', 'sortByJunkStatusMenuitem', 'sortByAttachmentsMenuitem', 'sortAscending', 'sortDescending', 'viewThreaded', 'viewAll', 'viewUnread', 'viewLabelMenuItem1', 'viewUnread', 'viewLabelMenuItem1', 'viewLabelMenuItem2', 'viewLabelMenuItem3', 'viewLabelMenuItem4', 'viewLabelMenuItem5', 'viewCreateCustomView', 'viewallheaders', diff --git a/mozilla/mail/base/content/mailWindowOverlay.js b/mozilla/mail/base/content/mailWindowOverlay.js index 59017fe9b30..a91717abd29 100644 --- a/mozilla/mail/base/content/mailWindowOverlay.js +++ b/mozilla/mail/base/content/mailWindowOverlay.js @@ -245,7 +245,8 @@ function InitViewSortByMenu() setSortByMenuItemCheckState("sortByLabelMenuitem", (sortType == nsMsgViewSortType.byLabel)); setSortByMenuItemCheckState("sortByJunkStatusMenuitem", (sortType == nsMsgViewSortType.byJunkStatus)); setSortByMenuItemCheckState("sortBySenderMenuitem", (sortType == nsMsgViewSortType.byAuthor)); - setSortByMenuItemCheckState("sortByRecipientMenuitem", (sortType == nsMsgViewSortType.byRecipient)); + setSortByMenuItemCheckState("sortByRecipientMenuitem", (sortType == nsMsgViewSortType.byRecipient)); + setSortByMenuItemCheckState("sortByAttachmentsMenuitem", (sortType == nsMsgViewSortType.byAttachments)); var sortOrder = gDBView.sortOrder; @@ -1695,7 +1696,6 @@ function SetUpToolbarButtons(uri) // pop, and news. for now, just tweak it based on if it is news or not. var forNews = isNewsURI(uri); - if(!gMarkButton) gMarkButton = document.getElementById("button-mark"); if(!gDeleteButton) gDeleteButton = document.getElementById("button-delete"); var buttonToHide = null; @@ -1703,10 +1703,8 @@ function SetUpToolbarButtons(uri) if (forNews) { buttonToHide = gDeleteButton; - buttonToShow = gMarkButton; } else { - buttonToHide = gMarkButton; buttonToShow = gDeleteButton; } diff --git a/mozilla/mail/base/content/mailWindowOverlay.xul b/mozilla/mail/base/content/mailWindowOverlay.xul index 1b151d05c28..016a7b45567 100644 --- a/mozilla/mail/base/content/mailWindowOverlay.xul +++ b/mozilla/mail/base/content/mailWindowOverlay.xul @@ -1147,6 +1147,7 @@ + @@ -1678,17 +1679,6 @@ notjunk_tooltiptext="¬JunkButton.tooltip;"/> - @@ -1697,7 +1687,19 @@ - + + + + + + + + + + + + diff --git a/mozilla/mail/base/content/messenger.xul b/mozilla/mail/base/content/messenger.xul index 2f628a50d18..ecb0a3de435 100644 --- a/mozilla/mail/base/content/messenger.xul +++ b/mozilla/mail/base/content/messenger.xul @@ -93,9 +93,9 @@ commandupdater="true" events="focus" oncommandupdate="FocusRingUpdate_Mail()"/> - + #ifdef XP_MACOSX - + #endif @@ -259,12 +259,16 @@ class="treecol-image threadColumnHeader" currentView="unthreaded" display="&threadColumn.label;" tooltiptext="&threadColumn.tooltip;"/> + + - - + +