Bug 719006 - Move the Lightning buttons to tabbar-toolbar. r=Philipp
authorRichard Marti <richard.marti@gmail.com>
Tue, 24 Jan 2012 21:09:09 +0100
changeset 9264 e828b319282e8b3261f50b4c58d2e5cf8f29d79c
parent 9263 568c0a31db46aac7d87df5c81b304702fd405f9b
child 9265 1aac7486766c0f299dfd07731edfef1625558005
push id7092
push userrichard.marti@gmail.com
push dateTue, 24 Jan 2012 20:09:33 +0000
treeherdercomm-central@e828b319282e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersPhilipp
bugs719006
Bug 719006 - Move the Lightning buttons to tabbar-toolbar. r=Philipp
calendar/lightning/content/messenger-overlay-sidebar.xul
--- a/calendar/lightning/content/messenger-overlay-sidebar.xul
+++ b/calendar/lightning/content/messenger-overlay-sidebar.xul
@@ -115,26 +115,27 @@
 
     <broadcasterset id="calendar_broadcasters">
       <broadcaster id="filterBroadcaster" value="all"/>
     </broadcasterset>
 
     <popupset id="calendar-popupset"/>
   </window>
 
-  <hbox id="tabmail-buttons">
+  <toolbar id="tabbar-toolbar"
+          defaultset="calendar-tab-button,task-tab-button,qfb-show-filter-bar">
     <toolbarbutton id="calendar-tab-button"
                    title="&lightning.toolbar.calendar.label;"
                    tooltiptext="&lightning.toolbar.calendar.tooltip;"
                    command="new_calendar_tab"/>
     <toolbarbutton id="task-tab-button"
                    title="&lightning.toolbar.task.label;"
                    tooltiptext="&lightning.toolbar.task.tooltip;"
                    command="new_task_tab"/>
-  </hbox>
+  </toolbar>
 
   <tabpanels id="tabpanelcontainer">
     <vbox id="calendarTabPanel">
       <!-- Unfortunately we use the same panel for task and calendar tabs, so
            we need to differ which toolbar is being shown. The actual toolbar
            content will be added via a further overlay -->
       <deck id="calendar-toolbar-deck">
         <toolbox id="calendar-toolbox"/>