git-svn-id: svn://euphorik.ch/pompage@45 02bbb61a-6d21-0410-aba0-cb053bdfd66a
[pompage.git] / doc / webdeveloper / options / dialogs / view_source_with.xul
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
3
4 <!DOCTYPE dialog SYSTEM "chrome://webdeveloper/locale/dialogs.dtd">
5
6 <dialog buttons="accept, cancel"
7         id="webdeveloper-view-source-with-dialog"
8         ondialogaccept="return webdeveloper_saveViewSourceWith()"
9         ondialogcancel="webdeveloper_clearViewSourceWith()"
10         onload="webdeveloper_initializeViewSourceWith()"
11         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
12
13     <script type="application/x-javascript" src="chrome://webdeveloper/content/common/platform.js"/>
14     <script type="application/x-javascript" src="chrome://webdeveloper/content/common/prompt.js"/>
15     <script type="application/x-javascript" src="chrome://webdeveloper/content/common/string.js"/>
16     <script type="application/x-javascript" src="chrome://webdeveloper/content/options/dialogs/view_source_with.js"/>
17
18     <stringbundleset id="stringbundleset">
19         <stringbundle id="webdeveloper-string-bundle" src="chrome://webdeveloper/locale/webdeveloper.properties"/>
20     </stringbundleset>
21
22     <vbox>
23         <grid>
24             <columns>
25                 <column/>
26                 <column/>
27             </columns>
28             <rows>
29                 <row align="center">
30                     <label control="webdeveloper.view.source.with.description" value="&webdeveloper.description.label;"/>
31                     <textbox id="webdeveloper.view.source.with.description" size="50"/>
32                 </row>
33                 <row align="center">
34                     <label control="webdeveloper.view.source.with.path" value="&webdeveloper.application.label;"/>
35                     <hbox align="center">
36                         <textbox flex="1" id="webdeveloper.view.source.with.path"/>
37                         <button label="&webdeveloper.tool.application.choose.label;" oncommand="webdeveloper_chooseApplication()"/>
38                     </hbox>
39                 </row>
40                 <row align="center">
41                     <label control="webdeveloper.view.source.with.key" value="&webdeveloper.keyboard.shortcut.label;"/>
42                     <hbox align="center">
43                         <description id="webdeveloper-keyboard-shortcut-modifiers"/>
44                         <textbox id="webdeveloper.view.source.with.key" maxlength="1" size="1"/>
45                         <spacer flex="1"/>
46                     </hbox>
47                 </row>
48             </rows>
49         </grid>
50     </vbox>
51 </dialog>