|
|
|
<?xml version="1.0"?>
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css" ?>
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css" ?>
|
|
|
|
<?xml-stylesheet href="chrome://diggsidebar/skin/diggsidebar.css" type="text/css" ?>
|
|
|
|
<!DOCTYPE page SYSTEM "chrome://diggsidebar/locale/diggsidebar.dtd">
|
|
|
|
|
|
|
|
<page id="sbDiggSidebar" title="&diggsidebar.title;"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
onload="DiggSidebar.initialize()"
|
|
|
|
onunload="DiggSidebar.destroy()">
|
|
|
|
<script src="chrome://diggsidebar/content/diggsidebar.js" type="application/x-javascript" />
|
|
|
|
<script src="chrome://diggsidebar/content/jpath.js" type="application/x-javascript" />
|
|
|
|
<hbox>
|
|
|
|
<toolbar flex="1">
|
|
|
|
<toolbaritem>
|
|
|
|
<menubar id="dsMenubar" flex="1" style="width: 100%">
|
|
|
|
<menu id="dsStoriesMenu" label="Stories" accesskey="S">
|
|
|
|
<menupopup id="dsStoriesPopup">
|
|
|
|
<menuitem label="All" value="/all"
|
|
|
|
oncommand="DiggSidebar.setEndPoint(this.value)" accesskey="A" />
|
|
|
|
<menuitem label="Popular" value="/popular"
|
|
|
|
oncommand="DiggSidebar.setEndPoint(this.value)" accesskey="P" />
|
|
|
|
<menuitem label="Upcoming" value="/upcoming"
|
|
|
|
oncommand="DiggSidebar.setEndPoint(this.value)" accesskey="U" />
|
|
|
|
<menuitem label="Hot" value="/hot"
|
|
|
|
oncommand="DiggSidebar.setEndPoint(this.value)" accesskey="H" />
|
|
|
|
<menuitem label="Top" value="/top"
|
|
|
|
oncommand="DiggSidebar.setEndPoint(this.value)" accesskey="T" />
|
|
|
|
<menuseparator />
|
|
|
|
<menu id="dsContainerMenu" label="Containers" accesskey="C">
|
|
|
|
<menupopup id="dsContainerPopup">
|
|
|
|
<menuitem label="Populating..." />
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu id="dsTopicMenu" label="Topics" accesskey="T">
|
|
|
|
<menupopup id="dsTopicPopup">
|
|
|
|
<menuitem label="Populating..." />
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
</menubar>
|
|
|
|
</toolbaritem>
|
|
|
|
<toolbarbutton id="dsPlayPauseButton"
|
|
|
|
image="chrome://diggsidebar/content/image/Pause.png"
|
|
|
|
tooltiptext="Click to Pause autoupdate"
|
|
|
|
oncommand="DiggSidebar.togglePlayPause()" />
|
|
|
|
<toolbarspacer flex="5" />
|
|
|
|
<toolbaritem>
|
|
|
|
<progressmeter flex="1"
|
|
|
|
width="5"
|
|
|
|
mode="undetermined"
|
|
|
|
id="dsBusyIndicator"
|
|
|
|
style="height: 85% !important; width: 30% !important" />
|
|
|
|
</toolbaritem>
|
|
|
|
</toolbar>
|
|
|
|
</hbox>
|
|
|
|
<description id="dsEndPointDesc">digg</description>
|
|
|
|
<richlistbox flex="1"
|
|
|
|
id="dsStoryListBox"
|
|
|
|
onselect="DiggSidebar.showDescription(this.selectedItem.id.substr(6))" />
|
|
|
|
</page>
|