<?xml version="1.0"?>
<!--
    ***** BEGIN LICENSE BLOCK *****
    
    Copyright © 2009 Center for History and New Media
                     George Mason University, Fairfax, Virginia, USA
                     http://zotero.org
    
    This file is part of Zotero.
    
    Zotero is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
    
    Zotero is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.
    
    You should have received a copy of the GNU Affero General Public License
    along with Zotero.  If not, see <http://www.gnu.org/licenses/>.
    
    ***** END LICENSE BLOCK *****
-->

<bindings xmlns="http://www.mozilla.org/xbl"
		  xmlns:xbl="http://www.mozilla.org/xbl"
		  xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
	<binding id="resizabledialog" extends="chrome://global/content/bindings/dialog.xml#dialog">
		<content style="padding: 0">
			<xul:vbox class="box-inherit dialog-content-box" flex="1" style="padding:14px 14px 0 14px">
				<children/>
			</xul:vbox>
			
			<xul:stack>
				<xul:hbox align="end" pack="end">
					<xul:resizer dir="bottomright" style="-moz-appearance: resizer"/>
				</xul:hbox>
				<xul:hbox class="dialog-button-box" anonid="buttons"
						xbl:inherits="pack=buttonpack,align=buttonalign,dir=buttondir,orient=buttonorient"
						flex="1" style="padding: 10px 14px 14px 14px; margin: 0">
					<xul:button dlgtype="disclosure" class="dialog-button" hidden="true"/>
					<xul:button dlgtype="help" class="dialog-button" hidden="true"/>
					<xul:button dlgtype="extra2" class="dialog-button" hidden="true"/>
					<xul:button dlgtype="extra1" class="dialog-button" hidden="true"/>
					<xul:spacer anonid="spacer" flex="1"/>
					<xul:button dlgtype="cancel" class="dialog-button"/>
					<xul:button dlgtype="accept" class="dialog-button" xbl:inherits="disabled=buttondisabledaccept"/>
				</xul:hbox>
			</xul:stack>
		</content>
	</binding>
</bindings>
