From f2b4a7a997b8fc952ab96cadb68477ee5d5a434a Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 3 Sep 2013 12:36:55 +0100 Subject: Port to new recursive expand/contract functions. --- riscos/cookies.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'riscos/cookies.c') diff --git a/riscos/cookies.c b/riscos/cookies.c index dfdbc5d20..7f37de812 100644 --- a/riscos/cookies.c +++ b/riscos/cookies.c @@ -183,19 +183,19 @@ void ro_gui_cookies_toolbar_click(button_bar_action action) break; case TOOLBAR_BUTTON_EXPAND: - cookies_expand_cookies(); + cookie_manager_expand(false); break; case TOOLBAR_BUTTON_COLLAPSE: - cookies_collapse_cookies(); + cookie_manager_contract(false); break; case TOOLBAR_BUTTON_OPEN: - cookies_expand_domains(); + cookie_manager_expand(true); break; case TOOLBAR_BUTTON_CLOSE: - cookies_collapse_domains(); + cookie_manager_contract(true); break; default: @@ -300,22 +300,22 @@ bool ro_gui_cookies_menu_select(wimp_w w, wimp_i i, wimp_menu *menu, { switch (action) { case TREE_EXPAND_ALL: - cookies_expand_all(); + cookie_manager_expand(false); return true; case TREE_EXPAND_FOLDERS: - cookies_expand_domains(); + cookie_manager_expand(true); return true; case TREE_EXPAND_LINKS: - cookies_expand_cookies(); + cookie_manager_expand(false); return true; case TREE_COLLAPSE_ALL: - cookies_collapse_all(); + cookie_manager_contract(true); return true; case TREE_COLLAPSE_FOLDERS: - cookies_collapse_domains(); + cookie_manager_contract(true); return true; case TREE_COLLAPSE_LINKS: - cookies_collapse_cookies(); + cookie_manager_contract(false); return true; case TREE_SELECTION_DELETE: cookie_manager_keypress(KEY_DELETE_LEFT); -- cgit v1.2.3