mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
implement base button, rename navigation actions
This commit is contained in:
parent
2a47c2db35
commit
68898d8da0
6 changed files with 100 additions and 18 deletions
|
|
@ -60,6 +60,7 @@ impl Browser {
|
|||
));
|
||||
|
||||
let main = Arc::new(Main::new(
|
||||
action_tab_page_navigation_base.clone(),
|
||||
action_tab_page_navigation_reload.clone(),
|
||||
action_update.clone(),
|
||||
));
|
||||
|
|
@ -134,19 +135,19 @@ impl Browser {
|
|||
action_tab_page_navigation_base.connect_activate({
|
||||
let main = main.clone();
|
||||
move |_, _| {
|
||||
// @TODO
|
||||
main.tab_page_navigation_base();
|
||||
}
|
||||
});
|
||||
|
||||
action_tab_page_navigation_history_back.connect_activate({
|
||||
let main = main.clone();
|
||||
// let main = main.clone();
|
||||
move |_, _| {
|
||||
// @TODO
|
||||
}
|
||||
});
|
||||
|
||||
action_tab_page_navigation_history_forward.connect_activate({
|
||||
let main = main.clone();
|
||||
// let main = main.clone();
|
||||
move |_, _| {
|
||||
// @TODO
|
||||
}
|
||||
|
|
@ -155,7 +156,7 @@ impl Browser {
|
|||
action_tab_page_navigation_reload.connect_activate({
|
||||
let main = main.clone();
|
||||
move |_, _| {
|
||||
main.tab_page_reload();
|
||||
main.tab_page_navigation_reload();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue