<!ENTITY staff.main.auth.debug.javascript.accesskey "J">
<!ENTITY staff.main.auth.debug.debugger "Debugger">
<!ENTITY staff.main.auth.debug.debugger.accesskey "D">
+<!ENTITY staff.main.auth.debug.inspector "DOM Inspector">
+<!ENTITY staff.main.auth.debug.inspector.accesskey "I">
+<!ENTITY staff.main.auth.debug.chrome_list "Chrome List">
+<!ENTITY staff.main.auth.debug.chrome_list.accesskey "">
<!ENTITY staff.main.auth.hostname "Hostname">
<!ENTITY staff.main.auth.hostname.accesskey "H">
<!ENTITY staff.main.auth.offline.caption "Offline Use">
overlay chrome://inspector/content/commandOverlay.xul chrome://inspector/content/viewers/dom/commandOverlay.xul
overlay chrome://inspector/content/inspector.xul chrome://browser/content/baseMenuOverlay.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
overlay chrome://inspector/content/inspector.xul chrome://communicator/content/tasksOverlay.xul application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
+
+content chromelist jar:chrome_list.jar!/content/
+skin chromelist modern/1.0 jar:chrome_list.jar!/skin/
+locale chromelist en-US jar:chrome_list.jar!/locale/
+overlay chrome://browser/content/browser.xul chrome://chromelist/content/overlay/ChromeListOverlay.xul
+overlay chrome://messenger/content/messenger.xul chrome://chromelist/content/overlay/ChromeListOverlay.xul
+
start_inspector();
}
],
+ 'cmd_chrome_list' : [
+ ['command'],
+ function() {
+ start_chrome_list();
+ }
+ ],
'cmd_override' : [
['command'],
function() {
);
};
+function start_chrome_list() {
+ setTimeout(
+ function() {
+ try { startChromeList(); } catch(E) { alert(E); }
+ }, 0
+ );
+};
+
function main_init() {
dump('entering main_init()\n');
try {
<script type="text/javascript" src="chrome://venkman/content/venkman-overlay.js"/>
<script type="application/x-javascript" src="chrome://inspector/content/hooks.js"/>
+ <script type="application/x-javascript" src="chrome://chromelist/content/overlay/ChromeListOverlay.js" />
+
<messagecatalog id="authStrings" src="chrome://open_ils_staff_client/locale/auth.properties"/>
<messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
<command id="cmd_js_console"/>
<command id="cmd_debugger"/>
<command id="cmd_inspector"/>
+ <command id="cmd_chrome_list"/>
<command id="cmd_clear_cache"/>
<command id="cmd_test_server"/>
<command id="cmd_ssl_exception" hidden="true"/>
<button label="&staff.main.auth.debug.javascript;" accesskey="&staff.main.auth.debug.javascript.accesskey;" command="cmd_js_console"/>
<button label="&staff.main.auth.debug.debugger;" accesskey="&staff.main.auth.debug.debugger.accesskey;" command="cmd_debugger"/>
<button label="&staff.main.auth.debug.inspector;" accesskey="&staff.main.auth.debug.inspector.accesskey;" command="cmd_inspector"/>
+ <button label="&staff.main.auth.debug.chrome_list;" accesskey="&staff.main.auth.debug.chrome_list.accesskey;" command="cmd_chrome_list"/>
<button label="&staff.main.auth.debug.clear;" accesskey="&staff.main.auth.debug.clear.accesskey;" command="cmd_clear_cache"/>
</hbox>
</groupbox>
<menuitem label="&staff.main.menu.admin.about_config.label;" command="cmd_about_config"/>
<menuitem label="&staff.main.menu.admin.venkman.label;" oncommand="try{xulG.window.win.start_debugger();}catch(E){alert(E);}"/>
<menuitem label="&staff.main.auth.debug.inspector;" oncommand="try{xulG.window.win.start_inspector();}catch(E){alert(E);}"/>
+ <menuitem label="&staff.main.auth.debug.chrome_list;" oncommand="try{xulG.window.win.start_chrome_list();}catch(E){alert(E);}"/>
</menupopup>
</menu>
</menupopup>