Permalink
Browse files

MozRepl: fixed overlay for Songbird 0.4.

darcs-hash:20080207174106-8cc29-da2caed322ff5e889021b09da7b593cbcd71ca42.gz
  • Loading branch information...
bard committed Feb 7, 2008
1 parent e7e305c commit ff5199e9a28846191151f50985201c276bcccb8c
Showing with 37 additions and 41 deletions.
  1. +4 −1 chrome.manifest
  2. +32 −39 chrome/content/mozrepl/overlay_songbird.xul
  3. +1 −1 install.rdf
View
@@ -1,9 +1,12 @@
+# todo: map to mozrepl and mozunit as a transition to separate packages
+
content mozlab chrome/content/
skin mozlab classic/1.0 chrome/skin/classic/
overlay chrome://browser/content/browser.xul chrome://mozlab/content/mozrepl/overlay_browser.xul
overlay chrome://messenger/content/messenger.xul chrome://mozlab/content/mozrepl/overlay_mail.xul
-overlay chrome://rubberducky/content/xul/mainwin.xul chrome://mozlab/content/mozrepl/overlay_songbird.xul
+overlay chrome://songbird/content/xul/menuOverlay.xul chrome://mozlab/content/mozrepl/overlay_songbird.xul
+
overlay chrome://browser/content/browser.xul chrome://mozlab/content/mozunit/overlay_browser.xul
overlay chrome://messenger/content/messenger.xul chrome://mozlab/content/mozunit/overlay_mail.xul
@@ -24,45 +24,38 @@ Author: Massimiliano Mirra, <bard [at] hyperstruct [dot] net>
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="overlay.js"/>
- <menubar id="songbird_menu">
- <commandset id="mainCommandSet">
- <command id="mozrepl-command-toggle"
- label="Start"
- accesskey="S"
- oncommand="mozrepl.toggleServer();"/>
- <command id="mozrepl-command-help"
- label="Help..."
- accesskey="H"
- oncommand="mozrepl.openHelp();"/>
- <command id="mozrepl-command-listen-external"
- label="Allow outside connections"
- accesskey="A"
- oncommand="mozrepl.togglePref('loopbackOnly');"/>
- <command id="mozrepl-command-autostart"
- label="Activate on startup"
- accesskey="s"
- oncommand="mozrepl.togglePref('autoStart');"/>
- <command id="mozrepl-command-change-port"
- label="Change port"
- accesskey="p"
- oncommand="mozrepl.changePort();"/>
- </commandset>
-
- <menu id="tools-menu"
- label="Tools"
- class="sb_faceplate"
- insertbefore="songbird_menu_item_help">
- <menupopup id="menu_ToolsPopup">
- <menu label="MozRepl" position="1" accesskey="R">
- <menupopup onpopupshowing="mozrepl.updateMenu(this);">
- <menuitem command="mozrepl-command-toggle"/>
- <menuitem command="mozrepl-command-help"/>
- <menuitem command="mozrepl-command-autostart" type="checkbox"/>
- <menuitem command="mozrepl-command-listen-external" type="checkbox"/>
- <menuitem command="mozrepl-command-change-port"/>
- </menupopup>
- </menu>
+ <commandset id="mainCommandSet">
+ <command id="mozrepl-command-toggle"
+ label="Start"
+ accesskey="S"
+ oncommand="mozrepl.toggleServer();"/>
+ <command id="mozrepl-command-help"
+ label="Help..."
+ accesskey="H"
+ oncommand="mozrepl.openHelp();"/>
+ <command id="mozrepl-command-listen-external"
+ label="Allow outside connections"
+ accesskey="A"
+ oncommand="mozrepl.togglePref('loopbackOnly');"/>
+ <command id="mozrepl-command-autostart"
+ label="Activate on startup"
+ accesskey="s"
+ oncommand="mozrepl.togglePref('autoStart');"/>
+ <command id="mozrepl-command-change-port"
+ label="Change port"
+ accesskey="p"
+ oncommand="mozrepl.changePort();"/>
+ </commandset>
+
+ <menupopup id="menu_ToolsPopup">
+ <menu label="MozRepl" position="1" accesskey="R">
+ <menupopup onpopupshowing="mozrepl.updateMenu(this);">
+ <menuitem command="mozrepl-command-toggle"/>
+ <menuitem command="mozrepl-command-help"/>
+ <menuitem command="mozrepl-command-autostart" type="checkbox"/>
+ <menuitem command="mozrepl-command-listen-external" type="checkbox"/>
+ <menuitem command="mozrepl-command-change-port"/>
</menupopup>
</menu>
- </menubar>
+ </menupopup>
</overlay>
View
@@ -43,7 +43,7 @@
<em:targetApplication>
<Description>
<em:id>songbird@songbirdnest.com</em:id>
- <em:minVersion>0.2</em:minVersion>
+ <em:minVersion>0.4</em:minVersion>
<em:maxVersion>1.0+</em:maxVersion>
</Description>
</em:targetApplication>

0 comments on commit ff5199e

Please sign in to comment.