<separator class="thin"/>
<text value="&createdBy;" style="font-weight: bold;"/>
<text value="Kristian Kræmmer Nielsen <jkkn@tv2.dk>" class="url"
- onclick="window.open('http://jkkn.dk/tv2developer/'); window.close();"/>
+ onclick="window.open('http://jkkn.dk/tv2developer/');"/>
<separator class="thin"/>
<text value="&homePage;" style="font-weight: bold;"/>
<text value="http://jkkn.dk/tv2developer/"
class="url"
- onclick="window.open('http://jkkn.dk/tv2developer/'); window.close();"/>
+ onclick="window.open('http://jkkn.dk/tv2developer/');"/>
<separator class="thin"/>
</vbox>
<spring flex="1"/>
<key id="tv2-button-key" modifiers="alt" key="1" oncommand="TV2Developer.handleKeyShortcut(event)"/>
</keyset>
+<popupset id="mainPopupSet">
+ <popup id="tv2developer-contextmenu">
+ <menuitem label="&config.label;..." accesskey="&config.accesskey;"
+ oncommand="window.openDialog('chrome://tv2developer/content/options.xul','tv2options','chrome,dialog,modal')" />
+ <menuseparator />
+ <menuitem label="&about.label;" accesskey="&about.accesskey;"
+ oncommand="window.openDialog('chrome://tv2developer/content/about.xul','tv2about','chrome,dialog,modal')" />
+ </popup>
+</popupset>
+
<toolbarpalette id="BrowserToolbarPalette">
<toolbarbutton id="tv2-swap-button" type="menu-button"
+ context="tv2developer-contextmenu"
accesskey="2"
insertAfter="urlbar-container"
label="tv2.dk"
links.push(new this.TV2Link('test_live_swap', liveurl, tv2_uri));
links.push(new this.TV2Link('test_snapshot_swap', snapshoturl, tv2_uri));
if (tv2_user != initials) {
- links.push(new this.TV2Link('testprompt_swap', testurl, tv2_uri));
- } else {
- links.push(new this.TV2Link('testprompt_swap', testprompturl, tv2_uri, 'promptInitials'));
+ links.push(new this.TV2Link('test_swap', testurl, tv2_uri));
}
+ links.push(new this.TV2Link('testprompt_swap', testprompturl, tv2_uri, 'promptInitials'));
}
links.push(new this.TV2LinkSplit());
<!ENTITY version "version">
-<!ENTITY aboutDialog.title "TV 2 Developer Plugin - about">
+<!ENTITY aboutDialog.title "TV 2 Developer - about">
<!ENTITY createdBy "Created By:">
<!ENTITY homePage "Home Page:">
-<!ENTITY optionsDialog.title "TV 2 Developer Plugin - Options">
+<!ENTITY optionsDialog.title "TV 2 Developer - Options">
<!ENTITY developerInitials.description "Enter your TV 2 initials (e.x. jkkn):">
+<!ENTITY config.label "Configure">
+<!ENTITY config.accesskey "c">
+
+<!ENTITY about.label "About TV 2 Developer Plugin">
+<!ENTITY about.accesskey "a">