mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
add history submenu
This commit is contained in:
parent
7ebcbde01b
commit
2d81cf7954
4 changed files with 49 additions and 36 deletions
|
|
@ -154,15 +154,15 @@ impl Browser {
|
|||
|
||||
action_page_history_back.connect_activate({
|
||||
let window = window.clone();
|
||||
move |_, _| {
|
||||
window.tab_page_navigation_history_back();
|
||||
move |this, _| {
|
||||
window.tab_page_navigation_history_back(page_position_from_action_state(this));
|
||||
}
|
||||
});
|
||||
|
||||
action_page_history_forward.connect_activate({
|
||||
let window = window.clone();
|
||||
move |_, _| {
|
||||
window.tab_page_navigation_history_forward();
|
||||
move |this, _| {
|
||||
window.tab_page_navigation_history_forward(page_position_from_action_state(this));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue