/
list.xul
27 lines (21 loc) · 1.03 KB
/
list.xul
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://browser/content/places/places.css"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/places/places.css"?>
<page id="sbBonjourServices" title="Bonjour Services"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload='updateServiceList()'
class="dialog">
<script type="application/x-javascript"
src="chrome://bonjourfoxy/content/list.js" />
<script type="application/x-javascript"
src="chrome://bonjourfoxy/content/shared.js" />
<menupopup id="targetmenu" oncommand="contextListEventHandler(event);">
<menuitem label="Open" value="current"/>
<menuitem label="Open in New Tab" value="tab"/>
<menuitem label="Open in New Window" value="window"/>
</menupopup>
<richlistbox id="serviceList" flex="1" context="targetmenu" style="background-color: HighlightText; padding:0;margin:0;">
</richlistbox>
</page>