[open-ils-commits] r7818 - in trunk/Open-ILS: web/opac/locale/en-US
xul/staff_client/chrome/content/main
xul/staff_client/defaults/preferences
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Sep 22 23:46:10 EDT 2007
Author: phasefx
Date: 2007-09-22 23:36:50 -0400 (Sat, 22 Sep 2007)
New Revision: 7818
Modified:
trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
trunk/Open-ILS/xul/staff_client/defaults/preferences/prefs.js
Log:
Menu entries for Mozilla's Extension/Theme Manager and about:config. This opens up a lot of possibilities, eh? :)
Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd 2007-09-20 21:44:59 UTC (rev 7817)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd 2007-09-23 03:36:50 UTC (rev 7818)
@@ -582,6 +582,9 @@
<!ENTITY staff.main.menu.admin.public_opac.accesskey "p">
<!ENTITY staff.main.menu.admin.public_opac.label "Public OPAC">
<!ENTITY staff.main.menu.admin.restore_all_tabs.label "Unhide Tabs">
+<!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.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">
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2007-09-20 21:44:59 UTC (rev 7817)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu.js 2007-09-23 03:36:50 UTC (rev 7818)
@@ -578,6 +578,24 @@
}
}
],
+ 'cmd_extension_manager' : [
+ ['oncommand'],
+ function() {
+ obj.set_tab('chrome://mozapps/content/extensions/extensions.xul?type=extensions',{'tab_name':'Extension Manager'},{});
+ }
+ ],
+ 'cmd_theme_manager' : [
+ ['oncommand'],
+ function() {
+ obj.set_tab('chrome://mozapps/content/extensions/extensions.xul?type=themes',{'tab_name':'Theme Manager'},{});
+ }
+ ],
+ 'cmd_about_config' : [
+ ['oncommand'],
+ function() {
+ obj.set_tab('chrome://global/content/config.xul',{'tab_name':'about:config'},{});
+ }
+ ],
'cmd_shutdown' : [
['oncommand'],
function() {
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul 2007-09-20 21:44:59 UTC (rev 7817)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul 2007-09-23 03:36:50 UTC (rev 7818)
@@ -53,6 +53,10 @@
<command id="cmd_download_patrons" />
<command id="cmd_local_admin" />
+ <command id="cmd_extension_manager"/>
+ <command id="cmd_theme_manager"/>
+ <command id="cmd_about_config"/>
+
<command id="cmd_adv_user_edit" />
<command id="cmd_console" />
<command id="cmd_shell" />
@@ -211,6 +215,9 @@
<menuitem label="server/main/test.xul" accesskey="2" command="cmd_test_xul"/>
<menuitem label="&staff.main.menu.admin.clear_cache.label;" accesskey="&staff.main.menu.admin.clear_cache.accesskey;" command="cmd_clear_cache"/>
<menuitem label="&staff.main.menu.admin.restore_all_tabs.label;" command="cmd_restore_all_tabs"/>
+ <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"/>
</menupopup>
</menu>
</menupopup>
Modified: trunk/Open-ILS/xul/staff_client/defaults/preferences/prefs.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/defaults/preferences/prefs.js 2007-09-20 21:44:59 UTC (rev 7817)
+++ trunk/Open-ILS/xul/staff_client/defaults/preferences/prefs.js 2007-09-23 03:36:50 UTC (rev 7818)
@@ -53,3 +53,22 @@
pref("browser.download.manager.focusWhenStarting", false);
pref("browser.download.manager.flashCount", 2);
+
+// For extension manager, etc.
+pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
+pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul?type=themes");
+pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul?type=extensions");
+pref("xpinstall.dialog.progress.type.skin", "Extension:Manager-themes");
+pref("xpinstall.dialog.progress.type.chrome", "Extension:Manager-extensions");
+pref("extensions.update.enabled", true);
+pref("extensions.update.interval", 86400);
+pref("extensions.dss.enabled", false);
+pref("extensions.dss.switchPending", false);
+pref("extensions.ignoreMTimeChanges", false);
+pref("extensions.logging.enabled", false);
+pref("general.skins.selectedSkin", "classic/1.0");
+// NB these point at AMO
+pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties");
+pref("extensions.getMoreExtensionsURL", "chrome://mozapps/locale/extensions/extensions.properties");
+pref("extensions.getMoreThemesURL", "chrome://mozapps/locale/extensions/extensions.properties");
+
More information about the open-ils-commits
mailing list