mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 12:15:51 +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://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"?>
|
<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
|
||||||
|
|
||||||
<!DOCTYPE window [
|
<!DOCTYPE window [
|
||||||
@ -64,7 +65,7 @@
|
|||||||
<toolbarbutton type="menu" id="sidebar-panel-picker" menubuttontype="sidebar-panels"
|
<toolbarbutton type="menu" id="sidebar-panel-picker" menubuttontype="sidebar-panels"
|
||||||
onpopupshowing="SidebarBuildPickerPopup();"
|
onpopupshowing="SidebarBuildPickerPopup();"
|
||||||
label="&sidebar.picker.label;" >
|
label="&sidebar.picker.label;" >
|
||||||
<menupopup id="sidebar-panel-picker-popup" popupanchor="topright"
|
<menupopup id="sidebar-panel-picker-popup" popupanchor="bottomleft"
|
||||||
datasources="rdf:null"
|
datasources="rdf:null"
|
||||||
ref="urn:sidebar:current-panel-list"
|
ref="urn:sidebar:current-panel-list"
|
||||||
oncommand="SidebarTogglePanel(event.target);" >
|
oncommand="SidebarTogglePanel(event.target);" >
|
||||||
@ -98,6 +99,8 @@
|
|||||||
<menuseparator />
|
<menuseparator />
|
||||||
</menupopup>
|
</menupopup>
|
||||||
</toolbarbutton>
|
</toolbarbutton>
|
||||||
|
<toolbarbutton class="close-button" oncommand="SidebarShowHide();"
|
||||||
|
tooltiptext="&sidebar.close.tooltip;"/>
|
||||||
</sidebarheader>
|
</sidebarheader>
|
||||||
|
|
||||||
<vbox id="sidebar-panels"
|
<vbox id="sidebar-panels"
|
||||||
@ -125,7 +128,8 @@
|
|||||||
<action>
|
<action>
|
||||||
<hbox uri="?panel" class="box-texttab texttab-sidebar"
|
<hbox uri="?panel" class="box-texttab texttab-sidebar"
|
||||||
oncommand="SidebarSelectPanel(this,false,false)"
|
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"
|
<vbox uri="?panel" flex="1*" hidden="true"
|
||||||
loadstate="never loaded">
|
loadstate="never loaded">
|
||||||
<vbox flex="1" class="iframe-panel loadarea">
|
<vbox flex="1" class="iframe-panel loadarea">
|
||||||
|
@ -41,4 +41,5 @@
|
|||||||
<!ENTITY sidebar.sbDirectory.label "Sidebar Directory...">
|
<!ENTITY sidebar.sbDirectory.label "Sidebar Directory...">
|
||||||
|
|
||||||
<!ENTITY sidebar.pagenotfound.label "This tab is not available right now.">
|
<!ENTITY sidebar.pagenotfound.label "This tab is not available right now.">
|
||||||
|
<!ENTITY sidebar.close.tooltip "Close">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user