summaryrefslogtreecommitdiff
path: root/riscos/toolbar.c
diff options
context:
space:
mode:
authorSteve Fryatt <stevef@netsurf-browser.org>2013-12-30 16:20:37 +0000
committerSteve Fryatt <stevef@netsurf-browser.org>2013-12-30 16:20:37 +0000
commitf64c8ed9ef976618d36f7e07285e4755c0c9c11c (patch)
treea7fc6299005511e9a10abcb88c3a5a22334ff855 /riscos/toolbar.c
parent6300c7ed90b472dc9a5f21d8054fd2e2689c8c9a (diff)
downloadnetsurf-f64c8ed9ef976618d36f7e07285e4755c0c9c11c.tar.gz
netsurf-f64c8ed9ef976618d36f7e07285e4755c0c9c11c.tar.bz2
Update the URL hotlist icon when entries are deleted from the hotlist.
This does not currently spot entries which are edited.
Diffstat (limited to 'riscos/toolbar.c')
-rw-r--r--riscos/toolbar.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/riscos/toolbar.c b/riscos/toolbar.c
index d0c68c2b7..93c4438c3 100644
--- a/riscos/toolbar.c
+++ b/riscos/toolbar.c
@@ -1620,6 +1620,21 @@ const char *ro_toolbar_get_url(struct toolbar *toolbar)
/* This is an exported interface documented in toolbar.h */
+void ro_toolbar_update_all_hotlists(void)
+{
+ struct toolbar *bar;
+
+ bar = ro_toolbar_bars;
+ while (bar != NULL) {
+ ro_toolbar_update_hotlist(bar);
+
+ bar = bar->next;
+ }
+}
+
+
+/* This is an exported interface documented in toolbar.h */
+
void ro_toolbar_update_hotlist(struct toolbar *toolbar)
{
if (toolbar == NULL || toolbar->url == NULL)