aboutsummaryrefslogtreecommitdiffstats
path: root/src/chrome/content/proxy_thunder.xul
diff options
context:
space:
mode:
authorjmccrohan <jmccrohan@gmail.com>2011-04-06 15:29:05 +0100
committerjmccrohan <jmccrohan@gmail.com>2011-04-06 15:29:05 +0100
commit67810a8a0b08fc8697ee8fc8843af3757c12a421 (patch)
treeb9117ba19c4eff31666aa76010a69a9950623457 /src/chrome/content/proxy_thunder.xul
parentf5d92fb14f7bfc5105700e60fb6fc35fb4e31401 (diff)
downloadMultiproxy-Switch-67810a8a0b08fc8697ee8fc8843af3757c12a421.tar.gz
Initial Commit
Diffstat (limited to '')
-rw-r--r--src/chrome/content/proxy_thunder.xul60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/chrome/content/proxy_thunder.xul b/src/chrome/content/proxy_thunder.xul
new file mode 100644
index 0000000..90f8072
--- /dev/null
+++ b/src/chrome/content/proxy_thunder.xul
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+
+<!DOCTYPE overlay SYSTEM "chrome://mproxy/locale/locale.dtd" >
+
+<overlay id="mproxyOverlay"
+ title="Multi-proxy Switch Overlay"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+ <script type="application/x-javascript" src="chrome://mproxy/content/globals.js"></script>
+ <script type="application/x-javascript" src="chrome://mproxy/content/datasource.js"></script>
+ <script type="application/x-javascript" src="chrome://mproxy/content/tabmanager.js"></script>
+ <script type="application/x-javascript" src="chrome://mproxy/content/proxy.js"></script>
+ <script language="JavaScript">
+ //Window Event Handers
+ try{window.addEventListener("load", mproxy_initProxy, true);}catch(e){}
+ //try{window.addEventListener("focus", mproxy_tab_windowFocus, true);}catch(e){}
+ </script>
+
+ <!-- Statusbar -->
+ <statusbar id="status-bar" class="chromeclass-status">
+ <statusbarpanel id="mproxy-status"
+ insertbefore="statusbar-updates"
+ label="" collapsed="false"
+ context="mproxy-element-list"
+ popup="mproxy-element-list"
+ tooltiptext="&common.product.name;" />
+
+ </statusbar>
+
+ <!-- Popups -->
+ <popupset id="ContextMenus">
+ <popup id="mproxy-element-list" position="end_before">
+ <menuitem label="&common.none;" type="checkbox" checked="true" oncommand="mproxy_queueSetProxy(this);" class="proxy-menu-item"/>
+ <menuseparator id="mproxy-element-list-separator" />
+ <menuitem label="&common.manage.label;" accesskey="&common.manage.key;" oncommand="mproxy_openProxyManager();" />
+ <menuseparator />
+ <menuitem label="&common.preferences.label;" accesskey="&common.preferences.key;" oncommand="mproxy_openmproxyPrefs();" />
+
+ <menuitem label="&common.about.label;" accesskey="&common.about.key;" oncommand="mproxy_goTomproxyAbout()" />
+ </popup>
+ </popupset>
+
+ <!-- Tools Menu -->
+ <menupopup id="taskPopup">
+ <menu id="mproxy-tools-menu" label="&common.product.name;"
+ accesskey="P" class="menuitem-iconic"
+ insertafter="devToolsSeparator">
+ <menupopup id="mproxy-menu-list" position="end_before">
+ <menuitem label="&common.none;" type="checkbox" checked="true" oncommand="mproxy_queueSetProxy(this);" class="proxy-menu-item"/>
+ <menuseparator id="mproxy-menu-list-separator" />
+ <menuitem label="&common.manage.label;" accesskey="&common.manage.key;" oncommand="mproxy_openProxyManager();" />
+ <menuseparator />
+ <menuitem label="&common.preferences.label;" accesskey="&common.preferences.key;" oncommand="mproxy_openmproxyPrefs();" />
+
+ <menuitem label="&common.about.label;" accesskey="&common.about.key;" oncommand="mproxy_goTomproxyAbout()" />
+ </menupopup>
+ </menu>
+ </menupopup>
+</overlay> \ No newline at end of file