summaryrefslogtreecommitdiff
path: root/riscos/url.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-02-25 15:12:58 +0000
committerJames Bursa <james@netsurf-browser.org>2004-02-25 15:12:58 +0000
commit7897a98a4c7475e116f406ab173139c959d6dfb6 (patch)
tree5d51f0f542e80025b2e16d261ac2749d81abfae6 /riscos/url.c
parentdeaaa4a753bc2bc4b694845a720b51e7ceafb742 (diff)
downloadnetsurf-7897a98a4c7475e116f406ab173139c959d6dfb6.tar.gz
netsurf-7897a98a4c7475e116f406ab173139c959d6dfb6.tar.bz2
[project @ 2004-02-25 15:12:57 by bursa]
Implement scaling; rewrite desktop/browser; add riscos/thumbnail; rewrite history. svn path=/import/netsurf/; revision=566
Diffstat (limited to 'riscos/url.c')
-rw-r--r--riscos/url.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/riscos/url.c b/riscos/url.c
index 4b01280c8..e1ee94d47 100644
--- a/riscos/url.c
+++ b/riscos/url.c
@@ -99,29 +99,16 @@ void ro_url_message_received(wimp_message* message)
message->sender);
/* create new browser window */
- bw = create_browser_window(browser_TITLE | browser_TOOLBAR
- | browser_SCROLL_X_ALWAYS | browser_SCROLL_Y_ALWAYS, 640, 480
-#ifdef WITH_FRAMES
- , NULL
-#endif
- );
-
- gui_window_show(bw->window);
+ browser_window_create(uri_requested);
-#ifdef ALLOW_POST
+#if 0
if (post) {
/* TODO - create urlencoded data from file contents.
* Delete the file when finished with it.
*/
browser_window_open_location_historical(bw, uri_requested, /*data*/0, 0);
}
- else
#endif
- browser_window_open_location(bw, uri_requested);
-
- wimp_set_caret_position(bw->window->data.browser.toolbar,
- ICON_TOOLBAR_URL,
- 0,0,-1, (int) strlen(bw->window->url));
#ifdef ALLOW_POST
xfree(filename);