mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
rename methods
This commit is contained in:
parent
7d1951e2bf
commit
d0e918ef19
2 changed files with 10 additions and 10 deletions
|
|
@ -72,12 +72,12 @@ impl Window {
|
|||
|
||||
action.reload.connect_activate({
|
||||
let tab = tab.clone();
|
||||
move |position| tab.page_reload(position)
|
||||
move |position| tab.reload(position)
|
||||
});
|
||||
|
||||
action.home.connect_activate({
|
||||
let tab = tab.clone();
|
||||
move |position| tab.page_home(position)
|
||||
move |position| tab.home(position)
|
||||
});
|
||||
|
||||
action.close.connect_activate({
|
||||
|
|
@ -108,15 +108,15 @@ impl Window {
|
|||
action.history_back.connect_activate({
|
||||
let tab = tab.clone();
|
||||
move |position| {
|
||||
tab.page_history_back(position);
|
||||
} // @TODO rename destination method
|
||||
tab.history_back(position);
|
||||
}
|
||||
});
|
||||
|
||||
action.history_forward.connect_activate({
|
||||
let tab = tab.clone();
|
||||
move |position| {
|
||||
tab.page_history_forward(position);
|
||||
} // @TODO rename destination method
|
||||
tab.history_forward(position);
|
||||
}
|
||||
});
|
||||
|
||||
action.open.on_activate({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue