home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2011 November
/
CHIP_2011_11.iso
/
Programy
/
Narzedzia
/
AIMP2
/
aimp_2.61.583.exe
/
$TEMP
/
YandexPackSetup.msi
/
filE99F1209920F0FD124329B27F99A8C8E
< prev
next >
Wrap
Extensible Markup Language
|
2010-07-12
|
3KB
|
71 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://yasearch/skin/spellchecker/user-dict-dialog.css" type="text/css"?>
<!DOCTYPE dialog [
<!ENTITY % yaBrandDTD SYSTEM "chrome://yasearch/locale/yasearch.dtd">
%yaBrandDTD;
<!ENTITY % yaSpellcheckerDTD SYSTEM "chrome://yasearch/locale/spellchecker/spellchecker.dtd">
%yaSpellcheckerDTD;
]>
<dialog id="yasearch-spellchecker-user-dict-dialog"
windowtype="Yasearch:SpellcheckerUserDictDialog"
onload="YaSpellcheckerUserDict.init();"
onunload="YaSpellcheckerUserDict.onDialogUnload();"
ondialogaccept="return YaSpellcheckerUserDict.onDialogAccept()"
ondialogcancel="return YaSpellcheckerUserDict.onDialogCancel()"
title="&yasearch.spellchecker.dialog.title;"
buttons="accept,cancel"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml">
<script type="application/x-javascript" src="chrome://yasearch/content/utils.js"/>
<script type="application/x-javascript" src="chrome://yasearch/content/spellchecker/user-dict-dialog.js"/>
<keyset id="yaDictKeys">
<key id="add-key" keycode="VK_INSERT" command="add-command"/>
<key id="remove-key" keycode="VK_DELETE" command="remove-command"/>
<key id="selectall-key" key="a" modifiers="accel" command="selectall-command"/>
</keyset>
<commandset id="yaDictCommands">
<command id="add-command" oncommand="YaSpellcheckerUserDict.addRow()"/>
<command id="edit-command" oncommand="YaSpellcheckerUserDict.editRow()"/>
<command id="remove-command" oncommand="YaSpellcheckerUserDict.removeRows()"/>
<command id="selectall-command" oncommand="YaSpellcheckerUserDict.tree.view.selection.selectAll()"/>
</commandset>
<hbox flex="1">
<stack flex="1">
<tree id="words-list" flex="1" seltype="multiple" hidecolumnpicker="true" editable="true">
<treecols>
<treecol primary="true" hideheader="true" flex="10"/>
</treecols>
<treechildren id="words-list-treechildren"/>
</tree>
</stack>
<vbox>
<button label="&yasearch.spellchecker.button.add.label;"
command="add-command"/>
<button id="dict-button-edit"
label="&yasearch.spellchecker.button.edit.label;" disabled="true"
command="edit-command"/>
<button id="dict-button-remove"
label="&yasearch.spellchecker.button.delete.label;" disabled="true"
command="remove-command"/>
<separator class="thin" flex="1"/>
<hbox id="info-box" visible="false">
<description style="width: 9em">&yasearch.spellchecker.help.add.descr;</description>
</hbox>
<separator class="thin" flex="4"/>
<button id="dict-button-save"
label="&yasearch.spellchecker.button.save.label;" disabled="true"
oncommand="document.documentElement.acceptDialog()"/>
<button label="&yasearch.spellchecker.button.cancel.label;"
oncommand="document.documentElement.cancelDialog()"/>
</vbox>
</hbox>
</dialog>