From e7a72e396fbe3ba8e1725f30ede06d78160cfc73 Mon Sep 17 00:00:00 2001
From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Mon, 25 Jan 2010 17:22:54 +0000
Subject: [PATCH] I noticed in xulrunner 1.9.2rc1 that menu labels in menubar
 widgets were being rendered as if they were disabled.  This coming from a
 theme change in Firefox 3.5 that is looking for an @active in window for
 styling menus.  I don't know if this is the correct way to "activate" our
 windows, but seems to work.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15377 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/xul/staff_client/server/admin/patrons_due_refunds.xul | 2 +-
 Open-ILS/xul/staff_client/server/admin/transit_list.xul        | 2 +-
 Open-ILS/xul/staff_client/server/cat/copy_browser.xul          | 2 +-
 Open-ILS/xul/staff_client/server/circ/checkin.xul              | 2 +-
 Open-ILS/xul/staff_client/server/circ/copy_status.xul          | 2 +-
 Open-ILS/xul/staff_client/server/circ/renew.xul                | 2 +-
 Open-ILS/xul/staff_client/server/patron/bill2.xul              | 2 +-
 Open-ILS/xul/staff_client/server/patron/holds.xul              | 2 +-
 Open-ILS/xul/staff_client/server/patron/info_group.xul         | 2 +-
 Open-ILS/xul/staff_client/server/patron/items.xul              | 2 +-
 Open-ILS/xul/staff_client/server/patron/trigger_events.xul     | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/Open-ILS/xul/staff_client/server/admin/patrons_due_refunds.xul b/Open-ILS/xul/staff_client/server/admin/patrons_due_refunds.xul
index f92af6f74b..5faf6b1ed4 100644
--- a/Open-ILS/xul/staff_client/server/admin/patrons_due_refunds.xul
+++ b/Open-ILS/xul/staff_client/server/admin/patrons_due_refunds.xul
@@ -17,7 +17,7 @@
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="patrons_due_refunds_win" onload="try { font_helper(); persist_helper(); patrons_due_refunds_init(); } catch(E) { alert(E); }"
+<window id="patrons_due_refunds_win" onload="try { font_helper(); persist_helper(); patrons_due_refunds_init(); } catch(E) { alert(E); }" active="true"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
diff --git a/Open-ILS/xul/staff_client/server/admin/transit_list.xul b/Open-ILS/xul/staff_client/server/admin/transit_list.xul
index 352c0372fb..cef70ce4cd 100644
--- a/Open-ILS/xul/staff_client/server/admin/transit_list.xul
+++ b/Open-ILS/xul/staff_client/server/admin/transit_list.xul
@@ -17,7 +17,7 @@
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="admin_transit_list_win" 
+<window id="admin_transit_list_win" active="true" 
     onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
diff --git a/Open-ILS/xul/staff_client/server/cat/copy_browser.xul b/Open-ILS/xul/staff_client/server/cat/copy_browser.xul
index 6c895a5ad7..c0b4bdb858 100644
--- a/Open-ILS/xul/staff_client/server/cat/copy_browser.xul
+++ b/Open-ILS/xul/staff_client/server/cat/copy_browser.xul
@@ -21,7 +21,7 @@ vim:noet:sw=4:ts=4:
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="cat_copy_browser" 
+<window id="cat_copy_browser" active="true"
     onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.xul b/Open-ILS/xul/staff_client/server/circ/checkin.xul
index 8fafb68ce5..98c746cc19 100644
--- a/Open-ILS/xul/staff_client/server/circ/checkin.xul
+++ b/Open-ILS/xul/staff_client/server/circ/checkin.xul
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 <?xul-overlay href="/xul/server/circ/checkin_overlay.xul"?>
 
-<window id="checkin_win" 
+<window id="checkin_win" active="true" 
     onload="try { my_init(); font_helper(); persist_helper(); document.getElementById('checkin_modifiers_popup').hidePopup(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
diff --git a/Open-ILS/xul/staff_client/server/circ/copy_status.xul b/Open-ILS/xul/staff_client/server/circ/copy_status.xul
index aa955fe5bf..cd3402fda8 100644
--- a/Open-ILS/xul/staff_client/server/circ/copy_status.xul
+++ b/Open-ILS/xul/staff_client/server/circ/copy_status.xul
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 <?xul-overlay href="/xul/server/circ/copy_status_overlay.xul"?>
 
-<window id="copy_status_win" 
+<window id="copy_status_win" active="true" 
     onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
diff --git a/Open-ILS/xul/staff_client/server/circ/renew.xul b/Open-ILS/xul/staff_client/server/circ/renew.xul
index 9adc5212d9..9598d68594 100644
--- a/Open-ILS/xul/staff_client/server/circ/renew.xul
+++ b/Open-ILS/xul/staff_client/server/circ/renew.xul
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 <?xul-overlay href="/xul/server/circ/renew_overlay.xul"?>
 
-<window id="renew_win" 
+<window id="renew_win" active="true" 
     onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
diff --git a/Open-ILS/xul/staff_client/server/patron/bill2.xul b/Open-ILS/xul/staff_client/server/patron/bill2.xul
index d7b4e86d9d..14cbbb2427 100644
--- a/Open-ILS/xul/staff_client/server/patron/bill2.xul
+++ b/Open-ILS/xul/staff_client/server/patron/bill2.xul
@@ -20,7 +20,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 <!--<?xul-overlay href="/xul/server/patron/bill_summary_overlay.xul"?>-->
 
-<window id="bill_interface_win" width="700" height="550" oils_persist="sizemode width height"
+<window id="bill_interface_win" width="700" height="550" oils_persist="sizemode width height" active="true"
     onload="try{ font_helper(); persist_helper(); my_init(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
diff --git a/Open-ILS/xul/staff_client/server/patron/holds.xul b/Open-ILS/xul/staff_client/server/patron/holds.xul
index f7bd81c2cb..8cc526378c 100644
--- a/Open-ILS/xul/staff_client/server/patron/holds.xul
+++ b/Open-ILS/xul/staff_client/server/patron/holds.xul
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 <?xul-overlay href="/xul/server/patron/holds_overlay.xul"?>
 
-<window id="holds_win" 
+<window id="holds_win" active="true" 
     onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
diff --git a/Open-ILS/xul/staff_client/server/patron/info_group.xul b/Open-ILS/xul/staff_client/server/patron/info_group.xul
index d7d49ed002..abed9b46db 100644
--- a/Open-ILS/xul/staff_client/server/patron/info_group.xul
+++ b/Open-ILS/xul/staff_client/server/patron/info_group.xul
@@ -18,7 +18,7 @@
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="patron_info_group_win" width="700" height="550"
+<window id="patron_info_group_win" width="700" height="550" active="true"
     onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
diff --git a/Open-ILS/xul/staff_client/server/patron/items.xul b/Open-ILS/xul/staff_client/server/patron/items.xul
index 979e3e8fbd..37e47a1b9f 100644
--- a/Open-ILS/xul/staff_client/server/patron/items.xul
+++ b/Open-ILS/xul/staff_client/server/patron/items.xul
@@ -19,7 +19,7 @@
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 <?xul-overlay href="/xul/server/patron/items_overlay.xul"?>
 
-<window id="items_win" 
+<window id="items_win" active="true" 
     onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
diff --git a/Open-ILS/xul/staff_client/server/patron/trigger_events.xul b/Open-ILS/xul/staff_client/server/patron/trigger_events.xul
index d8fa41327b..368d80c3c1 100644
--- a/Open-ILS/xul/staff_client/server/patron/trigger_events.xul
+++ b/Open-ILS/xul/staff_client/server/patron/trigger_events.xul
@@ -17,7 +17,7 @@
 <!-- OVERLAYS -->
 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
 
-<window id="trigger_event_win" onload="try { font_helper(); persist_helper(); trigger_event_init(); } catch(E) { alert(E); }"
+<window id="trigger_event_win" onload="try { font_helper(); persist_helper(); trigger_event_init(); } catch(E) { alert(E); }" active="true"
     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
-- 
2.11.0