summaryrefslogtreecommitdiff
path: root/riscos/theme.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2005-04-07 20:46:22 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2005-04-07 20:46:22 +0000
commit610fca368b4b438fd2868f8a4d6a39a45f823e6b (patch)
treef31e0cbf961196522727043cef55fb76c122bddb /riscos/theme.c
parent75e7c01b1f23b9b03f32c2eaf7399f12a9a20272 (diff)
downloadnetsurf-610fca368b4b438fd2868f8a4d6a39a45f823e6b.tar.gz
netsurf-610fca368b4b438fd2868f8a4d6a39a45f823e6b.tar.bz2
[project @ 2005-04-07 20:46:22 by rjw]
Update to the way menus are handled. Various GUI bug fixes. svn path=/import/netsurf/; revision=1603
Diffstat (limited to 'riscos/theme.c')
-rw-r--r--riscos/theme.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/riscos/theme.c b/riscos/theme.c
index fb1f2a60d..9bd32d111 100644
--- a/riscos/theme.c
+++ b/riscos/theme.c
@@ -27,6 +27,7 @@
#include "oslib/wimpextend.h"
#include "oslib/wimpspriteop.h"
#include "netsurf/riscos/gui.h"
+#include "netsurf/riscos/menus.h"
#include "netsurf/riscos/options.h"
#include "netsurf/riscos/theme.h"
#include "netsurf/riscos/wimp.h"
@@ -1020,10 +1021,9 @@ bool ro_gui_theme_update_toolbar(struct theme_descriptor *descriptor, struct too
ro_gui_prepare_navigate(g);
break;
case THEME_HOTLIST_TOOLBAR:
- ro_gui_menu_prepare_hotlist();
- break;
case THEME_HISTORY_TOOLBAR:
- ro_gui_menu_prepare_global_history();
+ ro_gui_menu_prepare_action(toolbar->parent_handle,
+ TREE_SELECTION, false);
break;
default:
break;