summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-07-01 22:56:26 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-07-01 22:56:26 +0000
commit89bef6d65098476d38aa4fec7456a8bf4fd3d307 (patch)
tree5a41e6c5f3e27cd28b407b4f3cd72bcc013de5f5 /riscos/window.c
parent4cca5c72edb8c342b35c83333ec3675c26b88d9a (diff)
downloadnetsurf-89bef6d65098476d38aa4fec7456a8bf4fd3d307.tar.gz
netsurf-89bef6d65098476d38aa4fec7456a8bf4fd3d307.tar.bz2
[project @ 2004-07-01 22:56:26 by rjw]
Hotlist visit count monitoring. Hotlist redraw optimisations. Hotlist entry content type icons. svn path=/import/netsurf/; revision=1037
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/window.c b/riscos/window.c
index 756f52080..f0b787bcc 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -740,7 +740,7 @@ void ro_gui_toolbar_click(gui_window* g, wimp_pointer* pointer) {
break;
case ICON_TOOLBAR_BOOKMARK:
if (pointer->buttons == wimp_CLICK_SELECT) {
- ro_gui_hotlist_add(g->title, g->url);
+ ro_gui_hotlist_add(g->title, g->data.browser.bw->current_content);
} else {
ro_gui_hotlist_show();
}
@@ -891,6 +891,7 @@ void gui_window_start_throbber(struct gui_window* g) {
void gui_window_stop_throbber(gui_window* g) {
ro_gui_prepare_navigate(g);
+ ro_gui_hotlist_visited(g->data.browser.bw->current_content);
g->throbber = 0;
sprintf(g->throb_buf, "throbber%u", g->throbber);
ro_gui_redraw_icon(g->data.browser.toolbar->toolbar_handle, ICON_TOOLBAR_THROBBER);