1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE overlay SYSTEM "chrome://itsalltext/locale/itsalltext.dtd" >
4 <overlay id="ItsAllTextOverlay"
5 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
7 <script type="application/x-javascript" src="chrome://itsalltext/chrome/itsalltext.js" />
9 <!-- The merge point is contentAreaContextMenu -->
10 <popup id="contentAreaContextMenu">
11 <menu id="itsalltext-contextmenu" label="&top.label;" accesskey="&top.key;">
12 <menupopup id="itsalltext-context-popup">
13 <menuitem label="&edit.label;"
14 oncommand="ItsAllText.onEditNode(document.popupNode)"
15 accesskey="&edit.key;" />
16 <menuitem label="&newext.label;"
17 accesskey="&newext.key;"
18 oncommand="ItsAllText.menuNewExtEdit(event);" />
20 <menuitem label=".txt" oncommand="ItsAllText.menuExtEdit(event);"/>
22 <menuitem label="&readme.label;"
23 oncommand="ItsAllText.openReadme();"/>
24 <menuitem label="&pref.label;"
25 accesskey="&pref.key;"
26 oncommand="ItsAllText.openPreferences();"/>
31 <!-- The merge point is main-window -->
32 <window id="main-window">
33 <popupset id="itsalltext-optionmenu-set">
34 <popup id="itsalltext-optionmenu">
35 <menuitem label="&newext.label;"
36 accesskey="&newext.key;"
37 oncommand="ItsAllText.menuNewExtEdit(event);" />
39 <menuitem label=".txt" oncommand="ItsAllText.menuExtEdit(event);"/>
41 <menuitem label="&readme.label;"
42 oncommand="ItsAllText.openReadme();"/>
43 <menuitem label="&pref.label;"
44 accesskey="&pref.key;"
45 oncommand="ItsAllText.openPreferences();"/>
50 <!-- The merge point is the Tools menu -->
51 <menupopup id="menu_ToolsPopup">
52 <menu id="menu_itsalltext" class="menuitem-iconic"
53 image="chrome://itsalltext/chrome/icon16.png"
55 insertbefore="sanitizeSeparator">
57 <menuitem label="&readme.label;"
58 oncommand="ItsAllText.openReadme();"/>
59 <menuitem label="&pref.label;"
60 accesskey="&pref.key;"
61 oncommand="ItsAllText.openPreferences();"/>
67 <!-- Local Variables: -->