mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
Add close button to sidebar.
b=33420; r=morse; sr=alecf
This commit is contained in:
parent
b7be0dc38f
commit
3bb1a40548
@ -20,6 +20,7 @@
|
||||
|
||||
|
||||
<?xml-stylesheet href="chrome://communicator/content/sidebar/sidebarOverlay.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/button.css" type="text/css"?>
|
||||
<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
@ -64,7 +65,7 @@
|
||||
<toolbarbutton type="menu" id="sidebar-panel-picker" menubuttontype="sidebar-panels"
|
||||
onpopupshowing="SidebarBuildPickerPopup();"
|
||||
label="&sidebar.picker.label;" >
|
||||
<menupopup id="sidebar-panel-picker-popup" popupanchor="topright"
|
||||
<menupopup id="sidebar-panel-picker-popup" popupanchor="bottomleft"
|
||||
datasources="rdf:null"
|
||||
ref="urn:sidebar:current-panel-list"
|
||||
oncommand="SidebarTogglePanel(event.target);" >
|
||||
@ -98,6 +99,8 @@
|
||||
<menuseparator />
|
||||
</menupopup>
|
||||
</toolbarbutton>
|
||||
<toolbarbutton class="close-button" oncommand="SidebarShowHide();"
|
||||
tooltiptext="&sidebar.close.tooltip;"/>
|
||||
</sidebarheader>
|
||||
|
||||
<vbox id="sidebar-panels"
|
||||
@ -125,7 +128,8 @@
|
||||
<action>
|
||||
<hbox uri="?panel" class="box-texttab texttab-sidebar"
|
||||
oncommand="SidebarSelectPanel(this,false,false)"
|
||||
hidden="true" label="?title" exclude="?exclude" context="sidebarPopup" />
|
||||
hidden="true" label="?title" exclude="?exclude"
|
||||
context="sidebarPopup"/>
|
||||
<vbox uri="?panel" flex="1*" hidden="true"
|
||||
loadstate="never loaded">
|
||||
<vbox flex="1" class="iframe-panel loadarea">
|
||||
|
@ -41,4 +41,5 @@
|
||||
<!ENTITY sidebar.sbDirectory.label "Sidebar Directory...">
|
||||
|
||||
<!ENTITY sidebar.pagenotfound.label "This tab is not available right now.">
|
||||
<!ENTITY sidebar.close.tooltip "Close">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user