mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
add request text argument for new tab action
This commit is contained in:
parent
404da1fa74
commit
5ce6090d7a
6 changed files with 18 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue