Frank: I'm not sure that I understand your point. It would seem that Indan's solution eliminates the need an additional preference setting and still provides fallback to the internal default splash url when splash_url is not explicitly specified as nil, by taking advantage of non-mandatory nature of .dillorc prefs. Why would dillo not revert to an internal default splash_url value when not explicitly specified in .dillorc as nil or a value? In other words, when the override of the splash_url to nil (ie. "splash_url=" ) was deleted or commented out, why would dillo not use its own internal hard-coded default? Thanks for your great work to continue to improve dillo! Arnold On Thu, 13 Nov 2003 07:49:56 +0100 Frank de Lange <frank@unternet.org> wrote:
Indan Zupancic wrote:
Hello,
Inspired by my idea, or something you were thinking about before? Just curious (everyone that takes a look at about.c should get the idea IMHO).
Both. I looked at the file before and felt slightly uneasy. Then you mentioned it, I thought 'what the heck let's try it', and 5 minutes later it worked.
Don't add unnecessary parameters like show_splash, just use splash_url="" for no splash screen.
Hm, that would make it hard for people who have (or for whom someone has) disabled the splash to get it back, as they have to know the url. A simple YES/NO is better and not very intrusive. Be aware of the fact that the prefs have sane defaults, they are not mandatory. Having 'show_splash=NO' in a preference file (or a checkbox in a preference screen/page if you prefer) is easier and more intuitive than setting an URL to an empty string.
Cheers//Frank