mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
implement suggestion titles, search in history, show bookmark as icon indicator
This commit is contained in:
parent
2b2ffd00de
commit
73c35d25d8
8 changed files with 71 additions and 19 deletions
|
|
@ -123,7 +123,9 @@ impl Page {
|
|||
// Restore child components
|
||||
self.navigation.restore(transaction, &record.id)?;
|
||||
// Make initial page history snap
|
||||
self.profile.history.open(self.navigation.request());
|
||||
self.profile
|
||||
.history
|
||||
.open(self.navigation.request(), Some(self.title()));
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
|
@ -166,6 +168,12 @@ impl Page {
|
|||
self.navigation.set_progress_fraction(progress_fraction);
|
||||
self.tab_page.set_loading(progress_fraction > 0.0)
|
||||
}
|
||||
|
||||
// Getters
|
||||
|
||||
pub fn title(&self) -> gtk::glib::GString {
|
||||
self.tab_page.title()
|
||||
}
|
||||
}
|
||||
|
||||
// Tools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue