mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
remove extra getters, give names to gobjects
This commit is contained in:
parent
ccbc82d2f5
commit
ff3f064534
12 changed files with 22 additions and 40 deletions
|
|
@ -116,7 +116,7 @@ impl Page {
|
|||
pub fn home(&self) {
|
||||
if let Some(url) = self.navigation.home.url() {
|
||||
// Update with history record
|
||||
self.tab_action.load().activate(Some(&url), true);
|
||||
self.tab_action.load.activate(Some(&url), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -802,7 +802,7 @@ impl Page {
|
|||
.set_title("Redirect");
|
||||
|
||||
// Reload page to apply redirection (without history record request)
|
||||
tab_action.load().activate(None, false);
|
||||
tab_action.load.activate(None, false);
|
||||
}
|
||||
},
|
||||
Err(reason) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue