From 0e606ac64b28cde3985fed15e29bfdfdb3070192 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 17 Aug 2015 20:34:33 +0200 Subject: [PATCH] BeOS/Haiku: use cross-platform "select" code. Fixes http://bugs.netsurf-browser.org/mantis/view.php?id=2165. --- beos/gui.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/beos/gui.cpp b/beos/gui.cpp index 5eabfa848..da6cbcd1a 100644 --- a/beos/gui.cpp +++ b/beos/gui.cpp @@ -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);