Bug 721327 Implement Tabs Toolbar for Thunderbird and Lightning Compatibility: Branch patch r=Neil a=Callek.
authorPhilip Chee <philip.chee@gmail.com>
Fri, 17 Feb 2012 18:53:45 +0800
changeset 10226 18c5e81531db0c65f7c7ebff1c3016f0cd0de413
parent 10225 566537137d0ccc9c7d3aa4ecdee0bf56e8c881a6
child 10227 1732edd4de3d0271fd00fa811beea98650958c99
push idunknown
push userunknown
push dateunknown
reviewersNeil, Callek
bugs721327
Bug 721327 Implement Tabs Toolbar for Thunderbird and Lightning Compatibility: Branch patch r=Neil a=Callek.
suite/mailnews/messenger.xul
suite/themes/classic/mac/messenger/mailWindow1.css
suite/themes/classic/messenger/mailWindow1.css
suite/themes/modern/messenger/mailWindow1.css
--- a/suite/mailnews/messenger.xul
+++ b/suite/mailnews/messenger.xul
@@ -171,16 +171,22 @@
 
   <!-- XXX This extension point (tabmail-container) is only temporary!
            (See bug 460252 for details.)
            We will readd a mechanism for sidebar panes in bug 178003.
     -->
   <hbox id="tabmail-container" flex="1">
     <tabmail id="tabmail" flex="1" panelcontainer="tabpanelcontainer">
       <box id="tabmail-buttons" orientation="horizontal"/>
+      <toolbar id="tabbar-toolbar"
+               xpfe="false"
+               nowindowdrag="true"
+               mode="icons"
+               iconsize="small"
+               labelalign="end"/>
       <tabpanels id="tabpanelcontainer" flex="1" class="plain" selectedIndex="0">
         <!-- The main mail three pane frame -->
         <box id="mailContent" orient="vertical" flex="1">
           <box id="messengerBox"
                orient="horizontal"
                flex="1"
                minheight="100"
                height="100"
--- a/suite/themes/classic/mac/messenger/mailWindow1.css
+++ b/suite/themes/classic/mac/messenger/mailWindow1.css
@@ -253,8 +253,13 @@
 .tabmail-tab[type="message"] .tab-icon {
   margin-top: -2px;
 }
 
 .tabmail-tab[type="folder"][NewMessages="true"],
 .tabmail-tab[type="folder"][IsServer="true"] {
   font-weight: bold;
 }
+
+#tabbar-toolbar {
+  -moz-appearance: none;
+  min-height: 0;
+}
--- a/suite/themes/classic/messenger/mailWindow1.css
+++ b/suite/themes/classic/messenger/mailWindow1.css
@@ -165,8 +165,15 @@ tabpanels {
 
 .tabmail-tab:-moz-lwtheme:not([selected="true"]) {
   opacity: .8;
 }
 
 .tabmail-tab:-moz-lwtheme {
   text-shadow: none;
 }
+
+#tabbar-toolbar {
+  -moz-appearance: none;
+  border-top-style: none;
+  border-bottom-style: none;
+  min-height: 0;
+}
--- a/suite/themes/modern/messenger/mailWindow1.css
+++ b/suite/themes/modern/messenger/mailWindow1.css
@@ -164,8 +164,13 @@
 .tab-close-button {
   list-style-image: url("chrome://global/skin/icons/close.gif");
 }
 
 .tabmail-tab[type="folder"][IsServer="true"],
 .alltabs-item[selected="true"] {
   font-weight: bold;
 }
+
+#tabbar-toolbar {
+  min-height: 0;
+  background-color: transparent;
+}