From 8710d3a8144f33501d73d589f2babedbaf1b53b0 Mon Sep 17 00:00:00 2001 From: François Revel Date: Thu, 9 Oct 2008 01:22:14 +0000 Subject: - fix for copying selection to clipboard - fix some leaks - prepare for about box (use about html from rsrc: but it's broken yet) - if more than 1 refs received at the same time, open the extra ones in a new window. svn path=/trunk/netsurf/; revision=5511 --- beos/beos_gui.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'beos/beos_gui.cpp') diff --git a/beos/beos_gui.cpp b/beos/beos_gui.cpp index 0e05235a6..f762afe82 100644 --- a/beos/beos_gui.cpp +++ b/beos/beos_gui.cpp @@ -173,6 +173,13 @@ void NSBrowserApplication::ArgvReceived(int32 argc, char **argv) { CALLED(); + NSBrowserWindow *win = nsbeos_find_last_window(); + if (!win) { + return; + } + win->Unlock(); + BMessage *message = DetachCurrentMessage(); + nsbeos_pipe_message_top(message, win, win->Scaffolding()); } @@ -191,6 +198,13 @@ NSBrowserApplication::RefsReceived(BMessage *message) } +void +NSBrowserApplication::AboutRequested() +{ + nsbeos_pipe_message(new BMessage(B_ABOUT_REQUESTED), NULL, NULL); +} + + bool NSBrowserApplication::QuitRequested() { -- cgit v1.2.3