Tabview resources are included with the wrong url. (bmo#589878)
authorWolfgang Rosenauer <wr@rosenauer.org>
Thu, 26 Aug 2010 07:48:25 +0200
changeset 145 6308a275f0a0
parent 144 c77d3787a02d
child 146 cf1c79206520
Tabview resources are included with the wrong url. (bmo#589878) eG: Enter commit message. Lines beginning with 'HG:' are removed.
MozillaFirefox/MozillaFirefox.spec
MozillaFirefox/firefox-tabview.patch
firefox-tabview.patch
series
--- 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}
--- /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
--- /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;
--- 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