diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-07-16 16:33:45 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-07-16 16:33:45 +0000 |
commit | abaa8a90938024685d39a10192586d369e44a101 (patch) | |
tree | 59006e5f7f679a9bd76b3488e20582b3e4af733c /desktop | |
parent | 99d1c18252833c577dc5046e73ef7f7cc12bdb3a (diff) | |
download | netsurf-abaa8a90938024685d39a10192586d369e44a101.tar.gz netsurf-abaa8a90938024685d39a10192586d369e44a101.tar.bz2 |
[project @ 2004-07-16 16:33:44 by rjw]
Various fixes for the GUI. Persistant windows are closed when upon a change of content. Hotlist saves in the same format as !Browse. Neater login window. Support for interactive help from hotlist windows.
svn path=/import/netsurf/; revision=1081
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/browser.c | 1 | ||||
-rw-r--r-- | desktop/gui.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 9aeaeaddd..075df260b 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -220,6 +220,7 @@ void browser_window_callback(content_msg msg, struct content *c, bw->current_content = c; bw->loading_content = 0; bw->caret_callback = 0; + gui_window_new_content(bw->window); gui_window_set_url(bw->window, c->url); browser_window_update(bw, true); browser_window_set_status(bw, c->status_message); diff --git a/desktop/gui.h b/desktop/gui.h index 553962ae9..84ee43cb9 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -65,4 +65,6 @@ void gui_window_place_caret(gui_window *g, int x, int y, int height); void gui_launch_url(const char *url); +void gui_window_new_content(gui_window *g); + #endif |