Re: [PATCH] User defined new tab page

Rodrigo Arias <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Thu, Apr 11, 2024 at 05:36:07PM +0200, [email protected] wrote:
>
>> We may leave the value "about:blank" by default (and forbid ""), but
>> then, when opening a new tab, if the new_tab_url matches
>> "about:blank", we set it to NULL to leave the location empty, which
>> follows the current behavior. Maybe, something like this?
>>
>> +   if (!url && strcmp(URL_STR(prefs.new_tab_page), "about:blank") !=
>> 0)
>> +      url = prefs.new_tab_page;
>
>That does seem like the most elegant solution for now. Thanks!

Related PR: https://github.com/dillo-browser/dillo/pull/147

Rodrigo.
_______________________________________________
Dillo-dev mailing list -- dillo-dev-lx9mn2B4QYRWk0Htik3J/[email protected]
To unsubscribe send an email to dillo-dev-leave-lx9mn2B4QYRWk0Htik3J/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.