From 53e1bc8d25b92ff799198158debe1b901c66a5c5 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 21 Jan 2013 11:38:49 -0500 Subject: [PATCH] LP#1102472: add about:about to staff client developer menu 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 Signed-off-by: Ben Shum --- Open-ILS/web/opac/locale/en-US/lang.dtd | 1 + .../xul/staff_client/chrome/content/main/menu.js | 6 ++++++ .../chrome/content/main/menu_frame_menus.xul | 4 ++++ docs/RELEASE_NOTES_NEXT/about_about.txt | 13 +++++++++++++ 4 files changed, 24 insertions(+) create mode 100644 docs/RELEASE_NOTES_NEXT/about_about.txt diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index 70063d8ae5..4957a7d06a 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -906,6 +906,7 @@ + diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js index f94e9ed435..9c5174f657 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -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() { diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul index 2e984d7102..81483cc195 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul @@ -76,6 +76,9 @@ + + diff --git a/docs/RELEASE_NOTES_NEXT/about_about.txt b/docs/RELEASE_NOTES_NEXT/about_about.txt new file mode 100644 index 0000000000..32b716dae9 --- /dev/null +++ b/docs/RELEASE_NOTES_NEXT/about_about.txt @@ -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. -- 2.43.2