mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
Always redirect to the new treeview implementations.
This commit is contained in:
parent
5d76b448b1
commit
fadaa306d0
@ -272,10 +272,6 @@ static bool treeview_test_init(struct tree *tree)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if we're testing the new treeview */
|
|
||||||
if (nsoption_bool(temp_treeview_test) == false)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
treeview_inits++;
|
treeview_inits++;
|
||||||
|
|
||||||
if (treeview_inits == 1)
|
if (treeview_inits == 1)
|
||||||
@ -321,10 +317,6 @@ static bool treeview_test_fini(struct tree *tree)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if we're testing the new treeview */
|
|
||||||
if (nsoption_bool(temp_treeview_test) == false)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (tree->flags & TREE_COOKIES) {
|
if (tree->flags & TREE_COOKIES) {
|
||||||
err = cookie_manager_fini();
|
err = cookie_manager_fini();
|
||||||
if (err != NSERROR_OK) {
|
if (err != NSERROR_OK) {
|
||||||
@ -367,10 +359,6 @@ static bool treeview_test_redraw(struct tree *tree, int x, int y,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if we're testing the new treeview */
|
|
||||||
if (nsoption_bool(temp_treeview_test) == false)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (tree->flags & TREE_COOKIES) {
|
if (tree->flags & TREE_COOKIES) {
|
||||||
cookie_manager_redraw(x, y, &clip, ctx);
|
cookie_manager_redraw(x, y, &clip, ctx);
|
||||||
return true;
|
return true;
|
||||||
@ -395,10 +383,6 @@ static bool treeview_test_mouse_action(struct tree *tree,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if we're testing the new treeview */
|
|
||||||
if (nsoption_bool(temp_treeview_test) == false)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (tree->flags & TREE_COOKIES) {
|
if (tree->flags & TREE_COOKIES) {
|
||||||
cookie_manager_mouse_action(mouse, x, y);
|
cookie_manager_mouse_action(mouse, x, y);
|
||||||
return true;
|
return true;
|
||||||
@ -422,10 +406,6 @@ static bool treeview_test_keypress(struct tree *tree, uint32_t key)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if we're testing the new treeview */
|
|
||||||
if (nsoption_bool(temp_treeview_test) == false)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (tree->flags & TREE_COOKIES) {
|
if (tree->flags & TREE_COOKIES) {
|
||||||
cookie_manager_keypress(key);
|
cookie_manager_keypress(key);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user