mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
begin local actions implementation
This commit is contained in:
parent
9398a835cd
commit
9ff32a3419
19 changed files with 402 additions and 226 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue