diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-06-30 22:37:05 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-06-30 22:37:05 +0100 |
commit | 846b53485474211a24248c9b0d5cc4205104a772 (patch) | |
tree | 8700086c923f5df423735c68707059af31710fa6 /amiga/menu.c | |
parent | 01271f4061bbc8f8b26492a26e04bdbb8b9746c9 (diff) | |
download | netsurf-846b53485474211a24248c9b0d5cc4205104a772.tar.gz netsurf-846b53485474211a24248c9b0d5cc4205104a772.tar.bz2 |
Recreate the entire menu when the hotlist window is closed.
This ensures the hotlist entries in the menu are in sync with reality, and mirrors the existing hotlist toolbar update.
Diffstat (limited to 'amiga/menu.c')
-rw-r--r-- | amiga/menu.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/amiga/menu.c b/amiga/menu.c index c6258be6f..784fec163 100644 --- a/amiga/menu.c +++ b/amiga/menu.c @@ -485,14 +485,6 @@ struct NewMenu *ami_create_menu(struct gui_window_2 *gwin) if(nsoption_bool(background_images) == true) gwin->menu[M_IMGBACK].nm_Flags |= CHECKED; - /* Set up scheduler to refresh the hotlist menu */ - if(nsoption_int(menu_refresh) > 0) - { - ami_schedule(nsoption_int(menu_refresh) * 10, - (void *)ami_menu_refresh, - gwin); - } - return(gwin->menu); } |