[open-ils-commits] r12029 - in branches/staff-client-experiment/Open-ILS: web/opac/locale/en-US xul/staff_client/chrome xul/staff_client/chrome/content/auth xul/staff_client/chrome/content/main xul/staff_client/server/main

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Jan 31 23:45:12 EST 2009


Author: phasefx
Date: 2009-01-31 23:45:10 -0500 (Sat, 31 Jan 2009)
New Revision: 12029

Modified:
   branches/staff-client-experiment/Open-ILS/web/opac/locale/en-US/lang.dtd
   branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/chrome.manifest
   branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/auth/controller.js
   branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/main/main.js
   branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/main/main.xul
   branches/staff-client-experiment/Open-ILS/xul/staff_client/server/main/menu_frame_menus.xul
Log:
Chrome List extension

Modified: branches/staff-client-experiment/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- branches/staff-client-experiment/Open-ILS/web/opac/locale/en-US/lang.dtd	2009-02-01 04:42:59 UTC (rev 12028)
+++ branches/staff-client-experiment/Open-ILS/web/opac/locale/en-US/lang.dtd	2009-02-01 04:45:10 UTC (rev 12029)
@@ -567,6 +567,10 @@
 <!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">

Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/chrome.manifest
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/chrome.manifest	2009-02-01 04:42:59 UTC (rev 12028)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/chrome.manifest	2009-02-01 04:45:10 UTC (rev 12029)
@@ -37,3 +37,10 @@
 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
+

Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/auth/controller.js
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/auth/controller.js	2009-02-01 04:42:59 UTC (rev 12028)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/auth/controller.js	2009-02-01 04:45:10 UTC (rev 12029)
@@ -72,6 +72,12 @@
                             start_inspector();
                         }
                     ],
+                    'cmd_chrome_list' : [
+                        ['command'],
+                        function() {
+                            start_chrome_list();
+                        }
+                    ],
 					'cmd_override' : [
 						['command'],
 						function() {

Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/main/main.js
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/main/main.js	2009-02-01 04:42:59 UTC (rev 12028)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/main/main.js	2009-02-01 04:45:10 UTC (rev 12029)
@@ -56,6 +56,14 @@
     );
 };
 
+function start_chrome_list() {
+    setTimeout(
+        function() {
+            try { startChromeList(); } catch(E) { alert(E); }
+        }, 0
+    );
+};
+
 function main_init() {
 	dump('entering main_init()\n');
 	try {

Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/main/main.xul
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/main/main.xul	2009-02-01 04:42:59 UTC (rev 12028)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/chrome/content/main/main.xul	2009-02-01 04:45:10 UTC (rev 12029)
@@ -57,6 +57,8 @@
 
     <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"/>
 
@@ -71,6 +73,7 @@
 		<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"/>
@@ -183,6 +186,7 @@
 				<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>

Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/server/main/menu_frame_menus.xul
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/server/main/menu_frame_menus.xul	2009-02-01 04:42:59 UTC (rev 12028)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/server/main/menu_frame_menus.xul	2009-02-01 04:45:10 UTC (rev 12029)
@@ -231,6 +231,7 @@
 				<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>



More information about the open-ils-commits mailing list