From 610fca368b4b438fd2868f8a4d6a39a45f823e6b Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Thu, 7 Apr 2005 20:46:22 +0000 Subject: [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 --- riscos/theme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'riscos/theme.c') 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; -- cgit v1.2.3