add request text argument for new tab action

This commit is contained in:
yggverse 2024-09-27 16:04:27 +03:00
parent 404da1fa74
commit 5ce6090d7a
6 changed files with 18 additions and 10 deletions

View file

@ -24,12 +24,12 @@ pub struct Navigation {
}
impl Navigation {
pub fn new() -> Self {
pub fn new(request_text: Option<GString>) -> Self {
// Init components
let base = Base::new();
let history = History::new();
let reload = Reload::new();
let request = Request::new();
let request = Request::new(request_text);
let bookmark = Bookmark::new();
// Init widget