BeOS/Haiku: use cross-platform "select" code.

Fixes http://bugs.netsurf-browser.org/mantis/view.php?id=2165.
This commit is contained in:
Adrien Destugues 2015-08-17 20:34:33 +02:00 committed by Vincent Sanders
parent 2071c2a91b
commit 0e606ac64b
1 changed files with 4 additions and 0 deletions

View File

@ -609,6 +609,10 @@ static void gui_init(int argc, char** argv)
nsbeos_options_init();
/* We don't yet have an implementation of "select" form elements (they should use a popup menu)
* So we use the cross-platform code instead. */
nsoption_set_bool(core_select_menu, true);
if (nsoption_charp(cookie_file) == NULL) {
find_resource(buf, "Cookies", "%/Cookies");
LOG("Using '%s' as Cookies file", buf);