diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2005-04-20 23:22:49 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2005-04-20 23:22:49 +0000 |
commit | d736b3d3e58107293d95f94492ce3c8e281291a6 (patch) | |
tree | 8faba8f18fbe5bafef5a5d97a8d7850e95cbe62c /riscos/menus.c | |
parent | 05869d79be896c681cfd3ec0b0d2e0c3ab327df9 (diff) | |
download | netsurf-d736b3d3e58107293d95f94492ce3c8e281291a6.tar.gz netsurf-d736b3d3e58107293d95f94492ce3c8e281291a6.tar.bz2 |
[project @ 2005-04-20 23:22:49 by rjw]
Remove background blending option, fix tree menu bug.
svn path=/import/netsurf/; revision=1675
Diffstat (limited to 'riscos/menus.c')
-rw-r--r-- | riscos/menus.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/riscos/menus.c b/riscos/menus.c index f8ab3f34e..ef1514977 100644 --- a/riscos/menus.c +++ b/riscos/menus.c @@ -191,7 +191,6 @@ void ro_gui_menu_init(void) { { "View.Toolbars.ToolStatus_", TOOLBAR_STATUS_BAR, 0 }, { "View.Toolbars.EditToolbar", TOOLBAR_EDIT, 0 }, { "View.Render_", NO_ACTION, 0 }, - { "View.Render.RenderText_", BROWSER_BLEND_TEXT, 0 }, { "View.Render.RenderAnims", BROWSER_BUFFER_ANIMS, 0 }, { "View.Render.RenderAll", BROWSER_BUFFER_ALL, 0 }, { "View.OptDefault", BROWSER_SAVE_VIEW, 0 }, @@ -1428,11 +1427,6 @@ bool ro_gui_menu_handle_action(wimp_w owner, menu_action action, g->option.background_images = !g->option.background_images; gui_window_redraw_window(g); return true; - case BROWSER_BLEND_TEXT: - if (!g) - return false; - g->option.background_blending = !g->option.background_blending; - break; case BROWSER_BUFFER_ANIMS: if (!g) return false; @@ -1483,13 +1477,13 @@ bool ro_gui_menu_handle_action(wimp_w owner, menu_action action, /* tree actions */ case TREE_NEW_FOLDER: ro_gui_menu_prepare_action(owner, action, true); - ro_gui_dialog_open_persistant(g->window, dialog_folder, - windows_at_pointer); + ro_gui_dialog_open_persistant((wimp_w)tree->handle, + dialog_folder, windows_at_pointer); return true; case TREE_NEW_LINK: ro_gui_menu_prepare_action(owner, action, true); - ro_gui_dialog_open_persistant(g->window, dialog_entry, - windows_at_pointer); + ro_gui_dialog_open_persistant((wimp_w)tree->handle, + dialog_entry, windows_at_pointer); return true; case TREE_EXPAND_ALL: case TREE_EXPAND_FOLDERS: @@ -1799,11 +1793,6 @@ void ro_gui_menu_prepare_action(wimp_w owner, menu_action action, bool windows) ro_gui_menu_set_entry_ticked(current_menu, action, g->option.background_images); break; - case BROWSER_BLEND_TEXT: - if (g) - ro_gui_menu_set_entry_ticked(current_menu, action, - g->option.background_blending); - break; case BROWSER_BUFFER_ANIMS: if (g) { ro_gui_menu_set_entry_shaded(current_menu, action, |