diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-09-07 23:05:34 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-09-07 23:05:34 +0000 |
commit | 289cca466d9eae24c88415834758c6392e86e3b6 (patch) | |
tree | 9d0f50d4a8a8743a25c0bb52e36198661ebeb161 /riscos/window.c | |
parent | 101c87958dfeb769c697136d221a2a1c63929e65 (diff) | |
download | netsurf-289cca466d9eae24c88415834758c6392e86e3b6.tar.gz netsurf-289cca466d9eae24c88415834758c6392e86e3b6.tar.bz2 |
[project @ 2004-09-07 23:05:34 by rjw]
Updates for new theme format along with a few minor bug fixes.
svn path=/import/netsurf/; revision=1269
Diffstat (limited to 'riscos/window.c')
-rw-r--r-- | riscos/window.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/riscos/window.c b/riscos/window.c index e342e00f8..4327e47a5 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -943,11 +943,12 @@ void ro_gui_throb(void) for (g = window_list; g; g = g->next) { if (!g->bw->throbbing || !g->toolbar || !g->toolbar->display_throbber || - !g->toolbar->theme || (t < g->throbtime + 10)) + !g->toolbar->descriptor ||!g->toolbar->descriptor->theme || + (t < g->throbtime + 10)) continue; g->throbtime = t; g->throbber++; - if (g->toolbar->theme->throbber_frames < g->throbber) + if (g->toolbar->descriptor->theme->throbber_frames < g->throbber) g->throbber = 1; sprintf(throb_buf, "throbber%i", g->throbber); ro_gui_set_icon_string(g->toolbar->toolbar_handle, |