summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorFran├žois Revol <revol@free.fr>2014-01-01 18:08:13 +0100
committerFran├žois Revol <revol@free.fr>2014-01-04 19:44:03 +0100
commit967d930477bc8080295e197c44ebd052bbd1963d (patch)
treeebbe17a56ed03420e13497a59318a0f1417057e2 /beos
parentbd89e5a0883b4c5444ec41ff7c70bb9053ef2442 (diff)
downloadnetsurf-967d930477bc8080295e197c44ebd052bbd1963d.tar.gz
netsurf-967d930477bc8080295e197c44ebd052bbd1963d.tar.bz2
beos: Fix opening about from replicant popup
Diffstat (limited to 'beos')
-rw-r--r--beos/scaffolding.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/beos/scaffolding.cpp b/beos/scaffolding.cpp
index 26ca2e952..1790cf06b 100644
--- a/beos/scaffolding.cpp
+++ b/beos/scaffolding.cpp
@@ -66,6 +66,7 @@ extern "C" {
#include "utils/utils.h"
#include "utils/log.h"
}
+#include "beos/about.h"
#include "beos/bitmap.h"
#include "beos/gui.h"
#include "beos/plotters.h"
@@ -402,6 +403,7 @@ NSBaseView::MessageReceived(BMessage *message)
{
switch (message->what) {
case B_SIMPLE_DATA:
+ case B_ABOUT_REQUESTED:
case B_ARGV_RECEIVED:
case B_REFS_RECEIVED:
case B_COPY:
@@ -777,6 +779,15 @@ void nsbeos_scaffolding_dispatch_event(nsbeos_scaffolding *scaffold, BMessage *m
case B_QUIT_REQUESTED:
nsbeos_scaffolding_destroy(scaffold);
break;
+ case B_ABOUT_REQUESTED:
+ {
+ nsbeos_about(NULL);
+ /* XXX: doesn't work yet! bug in rsrc:/
+ BString url("rsrc:/about.en.html,text/html");
+ browser_window_create(url.String(), NULL, NULL, true, false);
+ */
+ break;
+ }
case B_NETPOSITIVE_DOWN:
//XXX WRITEME
break;