зеркало из https://github.com/mozilla/gecko-dev.git
fix some windows line endings
This commit is contained in:
Родитель
355cec180a
Коммит
1a1bfede83
|
@ -702,12 +702,12 @@ function UpdateMailPaneConfig(aMsgWindowInitialized) {
|
|||
/* this code doesn't work yet, see the comment below about kWideThreadPaneConfig
|
||||
if (gCurrentPaneConfig == kWideThreadPaneConfig)
|
||||
{
|
||||
threadPaneSplitter.setAttribute("orient", "vertical");
|
||||
mailContentWrapper.setAttribute("orient", "horizontal");
|
||||
threadPaneSplitter.setAttribute("orient", "vertical");
|
||||
mailContentWrapper.setAttribute("orient", "horizontal");
|
||||
mailContentWrapper.removeChild(threadPaneSplitter);
|
||||
mailContentWrapper.removeChild(messagePaneBox);
|
||||
messagesBox.insertBefore(threadPaneSplitter, messagesBox.firstChild);
|
||||
messagesBox.insertBefore(messengerBox, messagesBox.firstChild);
|
||||
mailContentWrapper.removeChild(messagePaneBox);
|
||||
messagesBox.insertBefore(threadPaneSplitter, messagesBox.firstChild);
|
||||
messagesBox.insertBefore(messengerBox, messagesBox.firstChild);
|
||||
messagePaneBox.removeAttribute("flex");
|
||||
msgPaneReRooted = true;
|
||||
}
|
||||
|
@ -737,21 +737,21 @@ function UpdateMailPaneConfig(aMsgWindowInitialized) {
|
|||
// finally, make sure mailContentWrapper has the correct orientation
|
||||
mailContentWrapper.setAttribute("orient", "horizontal");
|
||||
}
|
||||
else if (paneConfig == kWideThreadPaneConfig)
|
||||
{
|
||||
// kWideThreadPaneConfig is a easter egg layout which isn't fully polished. So
|
||||
// the menu item for selecting it is hidden from the UI.
|
||||
// If you change from kWideThreadPaneConfig to another layout, you have to restart
|
||||
// Thunderbird before things look right. Loading account central looks really bad.
|
||||
// When you change into this layout, the thread pane gets re-rooted and we don't
|
||||
// handle that properly, the user must re-select the folder before the thread pane
|
||||
// relists the messages in it.
|
||||
mailContentWrapper.insertBefore(threadPaneSplitter, mailContentWrapper.firstChild);
|
||||
mailContentWrapper.insertBefore(messengerBox, mailContentWrapper.firstChild);
|
||||
|
||||
mailContentWrapper.setAttribute("orient", "vertical");
|
||||
threadPaneSplitter.setAttribute("orient", "vertical");
|
||||
messagePaneBox.setAttribute("flex", "1");
|
||||
else if (paneConfig == kWideThreadPaneConfig)
|
||||
{
|
||||
// kWideThreadPaneConfig is a easter egg layout which isn't fully polished. So
|
||||
// the menu item for selecting it is hidden from the UI.
|
||||
// If you change from kWideThreadPaneConfig to another layout, you have to restart
|
||||
// Thunderbird before things look right. Loading account central looks really bad.
|
||||
// When you change into this layout, the thread pane gets re-rooted and we don't
|
||||
// handle that properly, the user must re-select the folder before the thread pane
|
||||
// relists the messages in it.
|
||||
mailContentWrapper.insertBefore(threadPaneSplitter, mailContentWrapper.firstChild);
|
||||
mailContentWrapper.insertBefore(messengerBox, mailContentWrapper.firstChild);
|
||||
|
||||
mailContentWrapper.setAttribute("orient", "vertical");
|
||||
threadPaneSplitter.setAttribute("orient", "vertical");
|
||||
messagePaneBox.setAttribute("flex", "1");
|
||||
}
|
||||
|
||||
// re-rooting the message pane causes the docshell to get destroyed
|
||||
|
|
Загрузка…
Ссылка в новой задаче