haiku: catch NetPositive messages also in the Window

At least Pe sends them there for its Help menu.
This commit is contained in:
François Revol 2016-11-21 16:51:40 +01:00
parent 31b1c72ddc
commit b5fd0ae1ed
1 changed files with 9 additions and 0 deletions

View File

@ -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;