begin request entry refactory

This commit is contained in:
yggverse 2025-01-26 19:58:24 +02:00
parent 5255708be3
commit e7bd5bbdc6
24 changed files with 351 additions and 849 deletions

View file

@ -11,7 +11,7 @@ use tab::Tab;
use super::Action as BrowserAction;
use crate::Profile;
use gtk::{glib::GString, prelude::BoxExt, Box, Orientation};
use gtk::{prelude::BoxExt, Box, Orientation};
use std::rc::Rc;
pub struct Window {
@ -131,12 +131,8 @@ impl Window {
}
// Actions
pub fn escape(&self, tab_item_id: Option<GString>) {
self.tab.escape(tab_item_id);
}
pub fn update(&self, tab_item_id: Option<GString>) {
self.tab.update(tab_item_id);
pub fn escape(&self) {
self.tab.escape();
}
pub fn clean(&self, transaction: &Transaction, app_browser_id: i64) -> Result<(), String> {