Re: [Cooker] netscape and mdk "welcome"

2000-02-03 Thread Pablo Saratxaga

Kaixo!

On Wed, Feb 02, 2000 at 05:29:30PM -0800, Roger wrote:

> after i switch off teh "default page" w/i prefs (it now shows to "open blank
> page" on startup), i still get the "file:/usr/doc/HTML/index.html" page
> operning whenever i start netscape.
> 
> bug? (probabely reported before)

That page isn't opened as home page (that is trough the 'home' button
of netscape); but instead it is the 'netscape' shell script wrapper that,
when called without arguments, opens it.

The scripts reads the $HOME/.netscape/preferences.js file to see if
a home page ahs been set, and if set doesn't load the mandrake page.

So it seems Netscape does some strange thing when the home page is set to
blank.
Testing it (with 4.08, I hope it is the same for other versions)
I see that the blank page is defined with 

user_pref("browser.startup.page", 0)

So the following patch should correct it (Cc: to netscape mantainer)


--- /usr/bin/netscape.old   Sun Dec 13 06:13:35 1998
+++ /usr/bin/netscape   Thu Feb  3 20:53:21 2000
@@ -47,6 +47,11 @@
$HOME/.netscape/preferences.js > /dev/null; then
HOMEPAGE=""
fi
+   # blank page
+   if grep '"browser.startup.page", 0' \
+   $HOME/.netscape/preferences.js > /dev/null; then
+   HOMEPAGE=""
+   fi
fi
exec $I/lib/netscape/$which $HOMEPAGE
 else


-- 
Ki ça vos våye bén,
Pablo Saratxaga

http://www.ping.be/~pin19314/   PGP Key available, key ID: 0x8F0E4975



[Cooker] netscape and mdk "welcome"

2000-02-02 Thread Roger

after i switch off teh "default page" w/i prefs (it now shows to "open blank
page" on startup), i still get the "file:/usr/doc/HTML/index.html" page
operning whenever i start netscape.

bug? (probabely reported before)


Sent from:

Lattitude (deg):32.7130
Longitude (deg):-117.1530
Altitude (ft):  410.0
GMT to Local (hrs): -8.0 (daylight savings enabled)



Created with Linux-Mandrake 7.0!

http://www.linux-mandrake.com/

Currently Beta Testing Mandrake Ver >7.0