From f64c8ed9ef976618d36f7e07285e4755c0c9c11c Mon Sep 17 00:00:00 2001 From: Steve Fryatt Date: Mon, 30 Dec 2013 16:20:37 +0000 Subject: Update the URL hotlist icon when entries are deleted from the hotlist. This does not currently spot entries which are edited. --- riscos/toolbar.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'riscos/toolbar.c') diff --git a/riscos/toolbar.c b/riscos/toolbar.c index d0c68c2b7..93c4438c3 100644 --- a/riscos/toolbar.c +++ b/riscos/toolbar.c @@ -1618,6 +1618,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) -- cgit v1.2.3