5 <overlay id=
"contextmenu"
6 xmlns:
rdf=
"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
10 <window id=
"main-window">
11 <popupset id=
"mainPopupSet">
12 <popup id=
"contentAreaContextMenu"
13 onpopupshowing=
"if (event.target != this)
15 the_gui_context_menu = new gui_context_menu (this);
16 return the_gui_context_menu.has_methods ();"
17 onpopuphiding=
"if (event.target == this) {
18 the_gui_context_menu.destroy ();
19 the_gui_context_menu = null;
23 <script type=
"application/x-javascript" src=
"context.js"/>
24 <script type=
"application/x-javascript" src=
"gui_context_menu.js"/>
28 <conkframe id=
"content"
29 context=
"contentAreaContextMenu"/>