# HG changeset patch # User Wolfgang Rosenauer # Date 1282801705 -7200 # Node ID 6308a275f0a0b53c531c0fdcc384981cc817380d # Parent c77d3787a02d5c8de35f7913b3b3656c724cc350 Tabview resources are included with the wrong url. (bmo#589878) eG: Enter commit message. Lines beginning with 'HG:' are removed. diff -r c77d3787a02d -r 6308a275f0a0 MozillaFirefox/MozillaFirefox.spec --- a/MozillaFirefox/MozillaFirefox.spec Thu Aug 26 07:47:06 2010 +0200 +++ b/MozillaFirefox/MozillaFirefox.spec Thu Aug 26 07:48:25 2010 +0200 @@ -64,6 +64,7 @@ Patch11: firefox-no-sync-l10n.patch Patch12: firefox-sync-system-nss.patch Patch13: firefox-sync-build.patch +Patch14: firefox-tabview.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): coreutils shared-mime-info desktop-file-utils Requires(postun): shared-mime-info desktop-file-utils @@ -176,6 +177,7 @@ %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 %build export MOZ_BUILD_DATE=%{releasedate} diff -r c77d3787a02d -r 6308a275f0a0 MozillaFirefox/firefox-tabview.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MozillaFirefox/firefox-tabview.patch Thu Aug 26 07:48:25 2010 +0200 @@ -0,0 +1,1 @@ +../firefox-tabview.patch \ No newline at end of file diff -r c77d3787a02d -r 6308a275f0a0 firefox-tabview.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/firefox-tabview.patch Thu Aug 26 07:48:25 2010 +0200 @@ -0,0 +1,26 @@ +# HG changeset patch +# Parent d4d706483e1378477430197d3366a6e4d6dbb9cd +tabview is part of Firefox and not GRE + +diff --git a/browser/base/content/tabview/tabview.js b/browser/base/content/tabview/tabview.js +--- a/browser/base/content/tabview/tabview.js ++++ b/browser/base/content/tabview/tabview.js +@@ -1,15 +1,15 @@ + const Cc = Components.classes; + const Ci = Components.interfaces; + const Cu = Components.utils; + +-Cu.import("resource://gre/modules/tabview/AllTabs.jsm"); +-Cu.import("resource://gre/modules/tabview/groups.jsm"); +-Cu.import("resource://gre/modules/tabview/utils.jsm"); ++Cu.import("resource:///modules/tabview/AllTabs.jsm"); ++Cu.import("resource:///modules/tabview/groups.jsm"); ++Cu.import("resource:///modules/tabview/utils.jsm"); + Cu.import("resource://gre/modules/Services.jsm"); + Cu.import("resource://gre/modules/XPCOMUtils.jsm"); + + XPCOMUtils.defineLazyGetter(this, "gWindow", function() { + return window.QueryInterface(Ci.nsIInterfaceRequestor). + getInterface(Ci.nsIWebNavigation). + QueryInterface(Ci.nsIDocShell). + chromeEventHandler.ownerDocument.defaultView; diff -r c77d3787a02d -r 6308a275f0a0 series --- a/series Thu Aug 26 07:47:06 2010 +0200 +++ b/series Thu Aug 26 07:48:25 2010 +0200 @@ -24,3 +24,4 @@ firefox-no-sync-l10n.patch firefox-sync-system-nss.patch firefox-sync-build.patch +firefox-tabview.patch