30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
$OpenBSD: patch-minimo_chrome_content_minimo_js,v 1.2 2006/12/23 08:12:45 jolan Exp $
|
|
--- minimo/chrome/content/minimo.js.orig Fri Nov 10 22:09:59 2006
|
|
+++ minimo/chrome/content/minimo.js Fri Dec 8 12:21:28 2006
|
|
@@ -395,16 +395,10 @@ function MiniNavStartup()
|
|
gPref = Components.classes["@mozilla.org/preferences-service;1"]
|
|
.getService(nsIPrefBranch);
|
|
var page = null;
|
|
- try {
|
|
- page = gPref.getCharPref("browser.startup.homepage.override");
|
|
- }
|
|
- catch(e) {page=null;}
|
|
|
|
if (page == null)
|
|
page = gPref.getCharPref("browser.startup.homepage");
|
|
|
|
- gPref.clearUserPref("browser.startup.homepage.override");
|
|
-
|
|
if ( page.split("|").length > 1 ) {
|
|
homepages = page.split("|");
|
|
} else {
|
|
@@ -2115,7 +2109,7 @@ function BrowserFileOpen() {
|
|
fp.init(window, null, nsIFilePicker.modeOpenMultiple);
|
|
|
|
var fileCustomDirFile= refLocalFile.QueryInterface(nsILocalFile);
|
|
- fileCustomDirFile.initWithPath("\\");
|
|
+ fileCustomDirFile.initWithPath("/");
|
|
fp.displayDirectory = fileCustomDirFile;
|
|
|
|
fp.appendFilters(nsIFilePicker.filterAll);
|