whitespace
[conkeror.git] / content / conkeror.xul
blobe844507f4f6f24fc4d9bc7abb346dc6b5f1284b1
1 <?xml version="1.0"?>
2 <!--
3 (C) Copyright 2004-2007 Shawn Betts
4 (C) Copyright 2007-2010 John J. Foerch
5 (C) Copyright 2007-2008 Jeremy Maitin-Shepard
7 Use, modification, and distribution are subject to the terms specified in the
8 COPYING file.
9 -->
11 <?xml-stylesheet href="chrome://conkeror-gui/skin/window.css" type="text/css"?>
13 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
14 onload="Components.classes['@conkeror.mozdev.org/application;1']
15 .getService()
16 .wrappedJSObject.window_initialize(this);"
17 contenttitlesetting="false"
18 title="Conkeror"
19 id="main-window"
20 width="640" height="480"
21 persist="screenX screenY width height sizemode"
22 windowtype="navigator:browser">
24 <stringbundleset id="stringbundleset">
25 </stringbundleset>
27 <!-- put "New Window" and "Quit" items in the OS X Application Menu.
28 The id's "aboutName" and "menu_FileQuitItem" are magic cookies for
29 OS X XULRunner. We repurpose "aboutName" as a small hack, which
30 saves us from needing a lot of extra menu logic just for one menu
31 item on only one OS. -->
32 <menubar id="menubar" hidden="true">
33 <menu label="Conkeror" hidden="true">
34 <menupopup>
35 <menuitem
36 id="aboutName"
37 label="New Window"
38 hidden="true"
39 oncommand="conkeror.input_handle_command.call(window, 'make-window');"/>
40 <menuitem
41 id="menu_FileQuitItem"
42 label="Quit Conkeror"
43 hidden="true"
44 oncommand="conkeror.input_handle_command.call(window, 'quit');"/>
45 </menupopup>
46 </menu>
47 </menubar>
49 <panel id="popup_autocomplete" type="autocomplete" noautofocus="true"/>
51 <vbox flex="1">
52 <deck flex="1" id="buffer-container">
53 <vbox flex="1">
54 <browser flex="1" type="content-primary" disablehistory="true" autocompletepopup="popup_autocomplete"/>
55 </vbox>
56 </deck>
57 <hbox id="minibuffer" minibuffermode="message">
58 <label class="minibuffer" id="minibuffer-message" flex="1" crop="right" value=""/>
59 <label class="minibuffer" id="minibuffer-prompt" crop="left" value=""/>
60 <textbox class="plain" id="minibuffer-input" flex="1"/>
61 </hbox>
62 </vbox>
63 </window>