summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFran├žois Revol <revol@free.fr>2016-11-21 15:51:40 (GMT)
committer Fran├žois Revol <revol@free.fr>2016-11-21 15:51:40 (GMT)
commitb5fd0ae1ed4558b50cb7e3002e8f0c7042a4617d (patch)
treea5508258d3e625a47fd58ac75f0ae27db0892367
parent31b1c72ddc66512c3a9cef4e59b94bdafc713ad4 (diff)
downloadnetsurf-b5fd0ae1ed4558b50cb7e3002e8f0c7042a4617d.tar.gz
netsurf-b5fd0ae1ed4558b50cb7e3002e8f0c7042a4617d.tar.bz2
haiku: catch NetPositive messages also in the Window
At least Pe sends them there for its Help menu.
-rw-r--r--frontends/beos/scaffolding.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontends/beos/scaffolding.cpp b/frontends/beos/scaffolding.cpp
index 47f18c9..1fe22ff 100644
--- a/frontends/beos/scaffolding.cpp
+++ b/frontends/beos/scaffolding.cpp
@@ -729,6 +729,15 @@ NSBrowserWindow::MessageReceived(BMessage *message)
case B_ARGV_RECEIVED:
case B_REFS_RECEIVED:
case B_UI_SETTINGS_CHANGED:
+ // NetPositive messages
+ case B_NETPOSITIVE_OPEN_URL:
+ case B_NETPOSITIVE_BACK:
+ case B_NETPOSITIVE_FORWARD:
+ case B_NETPOSITIVE_HOME:
+ case B_NETPOSITIVE_RELOAD:
+ case B_NETPOSITIVE_STOP:
+ case B_NETPOSITIVE_DOWN:
+ case B_NETPOSITIVE_UP:
DetachCurrentMessage();
nsbeos_pipe_message_top(message, this, fScaffolding);
break;