summaryrefslogtreecommitdiff
path: root/firefox-2.0-getstartpage.patch
diff options
context:
space:
mode:
authorJan Horak <xhorak@fedoraproject.org>2008-11-13 15:07:40 +0000
committerJan Horak <xhorak@fedoraproject.org>2008-11-13 15:07:40 +0000
commitea4f77bc1b0f9e9669981e85035ae8b301cf92bf (patch)
treecee42f22d155c0b55b78c0b380977182180b0ef6 /firefox-2.0-getstartpage.patch
parentmerge (diff)
downloadlibrewolf-fedora-ff-ea4f77bc1b0f9e9669981e85035ae8b301cf92bf.tar.gz
librewolf-fedora-ff-ea4f77bc1b0f9e9669981e85035ae8b301cf92bf.tar.bz2
librewolf-fedora-ff-ea4f77bc1b0f9e9669981e85035ae8b301cf92bf.zip
- Removed firefox-2.0-getstartpage.patch patch
- Start page is set by different way
Diffstat (limited to 'firefox-2.0-getstartpage.patch')
-rw-r--r--firefox-2.0-getstartpage.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/firefox-2.0-getstartpage.patch b/firefox-2.0-getstartpage.patch
deleted file mode 100644
index 450d9c3..0000000
--- a/firefox-2.0-getstartpage.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Index: mozilla/browser/components/nsBrowserContentHandler.js
-===================================================================
-RCS file: /cvsroot/mozilla/browser/components/nsBrowserContentHandler.js,v
-retrieving revision 1.12.2.23
-diff -d -u -p -r1.12.2.23 nsBrowserContentHandler.js
---- mozilla/browser/components/nsBrowserContentHandler.js 14 Sep 2007 19:59:42 -0000 1.12.2.23
-+++ mozilla/browser/components/nsBrowserContentHandler.js 13 Dec 2007 13:20:44 -0000
-@@ -542,18 +542,14 @@ var nsBrowserContentHandler = {
- },
-
- get startPage() {
-+ var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"]
-+ .getService(Components.interfaces.nsIURLFormatter);
-+
- var prefb = Components.classes["@mozilla.org/preferences-service;1"]
- .getService(nsIPrefBranch);
-
-- var uri = prefb.getComplexValue("browser.startup.homepage",
-- nsIPrefLocalizedString).data;
-+ var uri = formatter.formatURLPref("browser.startup.homepage");
-
-- if (!uri) {
-- prefb.clearUserPref("browser.startup.homepage");
-- uri = prefb.getComplexValue("browser.startup.homepage",
-- nsIPrefLocalizedString).data;
-- }
--
- var count;
- try {
- count = prefb.getIntPref("browser.startup.homepage.count");
-@@ -564,8 +560,7 @@ var nsBrowserContentHandler = {
-
- for (var i = 1; i < count; ++i) {
- try {
-- var page = prefb.getComplexValue("browser.startup.homepage." + i,
-- nsIPrefLocalizedString).data;
-+ var page = formatter.formatURLPref("browser.startup.homepage." + i);
- uri += "\n" + page;
- }
- catch (e) {
bgstack15