From a3cb6b5030e8d398fdadf91c744cfe45ede3c906 Mon Sep 17 00:00:00 2001 From: "mostafah%oeone.com" Date: Fri, 15 Oct 2004 14:26:59 +0000 Subject: [PATCH] Quick fix to bug 264106 suggested by mattwillis Crash on launch: chrome://browser/content/hiddenWindow.xul can't be resolved git-svn-id: svn://10.0.0.236/trunk@163823 18797224-902f-48f8-a5cc-f745e15eee43 --- .../calendar/sunbird/app/profile/sunbird.js | 2 +- .../sunbird/base/content/hiddenWindow.xul | 31 +++++++++++++++++++ mozilla/calendar/sunbird/base/jar.mn | 1 + 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 mozilla/calendar/sunbird/base/content/hiddenWindow.xul diff --git a/mozilla/calendar/sunbird/app/profile/sunbird.js b/mozilla/calendar/sunbird/app/profile/sunbird.js index cb168b49bfc..6efeae3fcb4 100644 --- a/mozilla/calendar/sunbird/app/profile/sunbird.js +++ b/mozilla/calendar/sunbird/app/profile/sunbird.js @@ -42,7 +42,7 @@ pref("general.startup.calendar", true); pref("browser.chromeURL","chrome://calendar/content/"); -pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul"); +pref("browser.hiddenWindowChromeURL", "chrome://calendar/content/hiddenWindow.xul"); pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul"); pref("xpinstall.dialog.progress", "chrome://mozapps/content/downloads/downloads.xul"); pref("xpinstall.dialog.progress.type", "Download:Manager"); diff --git a/mozilla/calendar/sunbird/base/content/hiddenWindow.xul b/mozilla/calendar/sunbird/base/content/hiddenWindow.xul new file mode 100644 index 00000000000..29bb0479954 --- /dev/null +++ b/mozilla/calendar/sunbird/base/content/hiddenWindow.xul @@ -0,0 +1,31 @@ + +# -*- Mode: HTML -*- +# +# The contents of this file are subject to the Netscape Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998-2000 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# David Hyatt (Original Author) +# +#ifdef XP_MACOSX + + + +#endif diff --git a/mozilla/calendar/sunbird/base/jar.mn b/mozilla/calendar/sunbird/base/jar.mn index e2172f5a2a1..cf3d2cbe7a4 100644 --- a/mozilla/calendar/sunbird/base/jar.mn +++ b/mozilla/calendar/sunbird/base/jar.mn @@ -2,3 +2,4 @@ calendar.jar: + content/calendar/calendar.xul (content/calendar.xul) + content/calendar/menuOverlay.xul (content/menuOverlay.xul) * content/calendar/customizeToolbar.xul (content/customizeToolbar.xul) +* content/browser/hiddenWindow.xul (content/hiddenWindow.xul)