LP#1102472: add about:about to staff client developer menu
authorGalen Charlton <gmc@esilibrary.com>
Mon, 21 Jan 2013 16:38:49 +0000 (11:38 -0500)
committerBen Shum <bshum@biblio.org>
Tue, 29 Jan 2013 05:21:25 +0000 (00:21 -0500)
The about:about page contains many XULRunner diagnostic tools.

Some useful ones include:

about:buildconfig - Get information about how the staff client is built.
about:config - Tweak XULRunner settings.
about:memory - Get detailed information about staff client memory usage.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
docs/RELEASE_NOTES_NEXT/about_about.txt [new file with mode: 0644]

index 70063d8..4957a7d 100644 (file)
 <!ENTITY staff.main.menu.admin.extension_manager.label "Extension Manager">
 <!ENTITY staff.main.menu.admin.theme_manager.label "Theme Manager">
 <!ENTITY staff.main.menu.admin.about_config.label "about:config">
+<!ENTITY staff.main.menu.admin.about_about.label "about:about (XULRunner diagnostics)">
 <!ENTITY staff.main.menu.admin.stat_cat_edit.accesskey "C">
 <!ENTITY staff.main.menu.admin.stat_cat_edit.label "Statistical Category Editor">
 <!ENTITY staff.main.menu.admin.survey_wizard.accesskey "S">
index f94e9ed..9c5174f 100644 (file)
@@ -1492,6 +1492,12 @@ main.menu.prototype = {
                     obj.command_tab(event,'chrome://global/content/config.xul',{'tab_name' : 'about:config'},{});
                 }
             ],
+            'cmd_about_about' : [
+                ['oncommand'],
+                function(event) {
+                    obj.command_tab(event,'chrome://global/content/aboutAbout.xhtml',{'tab_name' : 'about:about'},{});
+                }
+            ],
             'cmd_shutdown' : [
                 ['oncommand'],
                 function() {
index 2e984d7..81483cc 100644 (file)
@@ -76,6 +76,9 @@
     <command id="cmd_about_config"
              perm="DEBUG_CLIENT"
              />
+    <command id="cmd_about_about"
+             perm="DEBUG_CLIENT"
+             />
 
     <command id="cmd_adv_user_edit" />
     <command id="cmd_console"
                 <menuitem label="&staff.main.menu.admin.extension_manager.label;" command="cmd_extension_manager"/>
                 <menuitem label="&staff.main.menu.admin.theme_manager.label;" command="cmd_theme_manager"/>
                 <menuitem label="&staff.main.menu.admin.about_config.label;" command="cmd_about_config"/>
+                <menuitem label="&staff.main.menu.admin.about_about.label;" command="cmd_about_about"/>
                 <menuitem label="&staff.main.menu.admin.venkman.label;" command="cmd_debug_venkman"/>
                 <menuitem label="&staff.main.auth.debug.inspector;" command="cmd_debug_inspector"/>
                 <menuitem label="&staff.main.auth.debug.chrome_list;" command="cmd_debug_chrome_list"/>
diff --git a/docs/RELEASE_NOTES_NEXT/about_about.txt b/docs/RELEASE_NOTES_NEXT/about_about.txt
new file mode 100644 (file)
index 0000000..32b716d
--- /dev/null
@@ -0,0 +1,13 @@
+New feature: add "about:about" to developer menu in staff client
+=================================================================
+
+about:about gives access to various XULRunner diagnostic tools.
+Useful ones include:
+
+about:buildconfig::
+    Get information about how the staff client is built.
+about:config::
+    Tweak XULRunner settings.
+about:memory::
+    Get detailed information about the memory usage of the staff
+    client.