Bug 719006 - Move the Lightning buttons to tabbar-toolbar. r+a=Philipp
authorRichard Marti <richard.marti@gmail.com>
Tue, 24 Jan 2012 21:12:44 +0100
changeset 10121 da70672b466aa1ce1c30a8f0d939c03d81826f9b
parent 10120 ed09e1575902553d5cd654fef10f92955b1142ce
child 10122 93f5b1f340bbdb8cdc26fd4355a464acefe8060e
push idunknown
push userunknown
push dateunknown
bugs719006
Bug 719006 - Move the Lightning buttons to tabbar-toolbar. r+a=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"/>