begin local actions implementation

This commit is contained in:
yggverse 2024-11-10 07:09:55 +02:00
parent 9398a835cd
commit 9ff32a3419
19 changed files with 402 additions and 226 deletions

View file

@ -10,7 +10,7 @@ use tab::Tab;
use widget::Widget;
use crate::app::browser::action::Action as BrowserAction;
use gtk::{gio::SimpleAction, Box};
use gtk::{gio::SimpleAction, glib::GString, Box};
use std::rc::Rc;
pub struct Window {
@ -106,8 +106,8 @@ impl Window {
self.tab.pin(page_position);
}
pub fn update(&self, id: &str) {
self.tab.update(id);
pub fn update(&self, tab_item_id: Option<GString>) {
self.tab.update(tab_item_id);
}
pub fn clean(&self, transaction: &Transaction, app_browser_id: &i64) -> Result<(), String> {