summaryrefslogtreecommitdiff
path: root/beos/beos_gui.cpp
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2008-10-09 01:22:14 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2008-10-09 01:22:14 +0000
commit8710d3a8144f33501d73d589f2babedbaf1b53b0 (patch)
tree8637e503d2ec8acf66f283b48d7ac1b91df76cb9 /beos/beos_gui.cpp
parentea205ecf23c1d2b4eb1c2bec6f9f14751106b5be (diff)
downloadnetsurf-8710d3a8144f33501d73d589f2babedbaf1b53b0.tar.gz
netsurf-8710d3a8144f33501d73d589f2babedbaf1b53b0.tar.bz2
- 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
Diffstat (limited to 'beos/beos_gui.cpp')
-rw-r--r--beos/beos_gui.cpp14
1 files changed, 14 insertions, 0 deletions
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()
{