XMLterm changes only.
Locale chrome changes. Added makefiles to handle xmltermOverlay.dtd
This commit is contained in:
svn%xmlterm.org 2000-09-19 22:58:39 +00:00
Родитель 5b0fb73ed4
Коммит 701fadcc0a
7 изменённых файлов: 11 добавлений и 14 удалений

Просмотреть файл

@ -291,6 +291,7 @@ function UpdateSettings() {
// Alter style in stylesheet of specified document doc, or current document
// if doc is omitted.
// ****CSS DOM IS BROKEN****; selectorText seems to be null for all rules
function AlterStyle(ruleName, propertyName, propertyValue, doc) {
dump("AlterStyle("+ruleName+"{"+propertyName+":"+propertyValue+"})\n");
@ -300,7 +301,8 @@ function AlterStyle(ruleName, propertyName, propertyValue, doc) {
var sheet = doc.styleSheets[0];
var r;
for (r = 0; r < sheet.cssRules.length; r++) {
//dump(sheet.cssRules[r].selectorText+"\n");
//dump("selectorText["+r+"]="+sheet.cssRules[r].selectorText+"\n");
//dump("cssText["+r+"]="+sheet.cssRules[r].cssText+"\n");
if (sheet.cssRules[r].selectorText == ruleName) {
var style = sheet.cssRules[r].style;

Просмотреть файл

@ -4,7 +4,7 @@
<title>xmlterm page</title>
<link title="defaultstyle" rel="stylesheet" type="text/css"
href="../skin/xmltpage.css">
href="chrome://xmlterm/skin/xmltpage.css">
<script language="JavaScript" src="XMLTermCommands.js">
</script>

Просмотреть файл

@ -31,9 +31,9 @@
onload="StartupXMLTerm();"
title="xmlterm" align="vertical" width="586" height="412">
<html:script src="chrome://xmlterm/content/XMLTermChrome.js"></html:script>
<script src="chrome://xmlterm/content/XMLTermChrome.js"></script>
<html:iframe id="content-frame" type="content" html:name="content"
html:src="chrome://xmlterm/content/xmlterm.html" flex="100%"/>
<iframe id="content-frame" type="content" name="content"
src="chrome://xmlterm/content/xmlterm.html" flex="100%"/>
</window>

Просмотреть файл

@ -1,10 +1,8 @@
<?xml version="1.0"?>
<!--
<!DOCTYPE window SYSTEM "chrome://xmlterm/locale/xmltermOverlay.dtd" >
-->
<!-- This is the overlay that addes "XMLterm" to the (global) task menu. -->
<!-- This is the overlay that adds "XMLterm" to the (global) task menu. -->
<overlay id="XMLtermTaskMenuID"
xmlns:html="http://www.w3.org/TR/REC-html40"
@ -13,16 +11,16 @@
<html:script language="JavaScript" src="chrome://xmlterm/content/xmltermOverlay.js"/>
<keyset id="keyset">
<key id="key_xmlterm" xulkey="true" key="7"
<key id="key_xmlterm" xulkey="true" key="&xmltermCmd.commandkey;"
observes="Tasks:xmlterm"/>
</keyset>
<broadcasterset id="broadcasterset">
<broadcaster id="Tasks:xmlterm" value="XMLterm" oncommand="toXMLterm();"/>
<broadcaster id="Tasks:xmlterm" value="&xmltermCmd.label;" oncommand="toXMLterm();"/>
</broadcasterset>
<menupopup id="taskPopup">
<menuitem accesskey="x" key="key_xmlterm"
<menuitem accesskey="&xmltermCmd.accesskey;" key="key_xmlterm"
position="6"
observes="Tasks:xmlterm"/>
</menupopup>

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -1,3 +0,0 @@
<!ENTITY xmltermCmd.label "XMLterm">
<!ENTITY xmltermCmd.accesskey "x">
<!ENTITY xmltermCmd.commandkey "7">