Bug 445387 – In </suite/*>, "use a xul <stringbundle/> instead of including the strres.js code" (Ev1)
authorSerge Gautherie <sgautherie.bz@free.fr>
Sun, 27 Jul 2008 21:16:37 +0100
changeset 34 5a71d1e8b08659cadd0347b72e8e4c4af1e8e291
parent 33 dd2b64479966e7c7452fb45a9d142517af906384
child 35 cb66b1639351c76c3a7e4534c84727bc13dc4aee
push idunknown
push userunknown
push dateunknown
bugs445387
Bug 445387 – In </suite/*>, "use a xul <stringbundle/> instead of including the strres.js code" (Ev1) p=sgautherie r=db48x
suite/common/bookmarks/bm-panel.xul
suite/common/bookmarks/bookmarksManager.xul
--- a/suite/common/bookmarks/bm-panel.xul
+++ b/suite/common/bookmarks/bm-panel.xul
@@ -51,18 +51,16 @@
 
 <!DOCTYPE page SYSTEM "chrome://communicator/locale/bookmarks/bookmarks.dtd">
 
 <page id="bookmarksPanel"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         onload="Startup();" elementtofocus="bookmarks-view">
 
-  <!-- XXX - would like to cut this dependency out -->
-  <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
 
   <!-- Bookmarks Shell -->
   <script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarks.js"/>
   <script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bm-panel.js"/>
 
   <!-- Bookmarks Panel Drag & Drop -->
   <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
--- a/suite/common/bookmarks/bookmarksManager.xul
+++ b/suite/common/bookmarks/bookmarksManager.xul
@@ -64,19 +64,16 @@
         xmlns:web="http://home.netscape.com/WEB-rdf#"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         width="630" height="400" screenX="20" screenY="20"
         persist="width height screenX screenY sizemode"
         onload="Startup();" onunload="Shutdown();">
 
   <!-- The order of loading of these script files is IMPORTANT -->
 
-  <!-- Shared Libraries -->
-  <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
-
   <!-- XXX - This should SO become an XBL widget -->
   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
 
   <!-- Shared Bookmarks Utility Library -->
   <script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarks.js"/>
   <!-- Bookmarks Window -->
   <script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksManager.js"/>