<?xml version="1.0"?>
<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<!DOCTYPE dialog SYSTEM "chrome://closebutton/locale/closebutton.dtd">

<prefwindow
  id="closebutton-options-window"
  title="&optionstitle;"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<prefpane>
<preferences>
	<preference	id="closebuttoncommandpref" 
			name="extensions.closebutton.command" 
			type="string"/>
	<preference	id="lasttabpref" 
			name="browser.tabs.closeWindowWithLastTab" 
			type="bool" inverted="true"/>
</preferences>

<groupbox orient="horizontal">
	<caption label="&optionsbhvlbl;"/>
	<spacer flex="1"/>
	<vbox flex="3">
	<radiogroup preference="closebuttoncommandpref">
		<radio 	value="close_t" 
			label="&optioncloset;"/>
		<radio 	value="close_w" 
			label="&optionclosew;"/>
		<radio 	value="close_ff" 
			label="&optioncloseff;"/>
	</radiogroup>
	<checkbox label="&optionkeepwindow;"
		preference="lasttabpref"/>
	</vbox>
</groupbox>

</prefpane>
</prefwindow>