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

@ -29,8 +29,8 @@ impl Main {
}
// Actions
pub fn tab_append(&self) {
self.tab.append(true);
pub fn tab_append(&self, tab_page_navigation_request_text: Option<GString>) {
self.tab.append(tab_page_navigation_request_text, true);
}
pub fn tab_page_reload(&self) {