diff --git a/src/app/browser/window/tab.rs b/src/app/browser/window/tab.rs index a71c8a09..108191a5 100644 --- a/src/app/browser/window/tab.rs +++ b/src/app/browser/window/tab.rs @@ -1,29 +1,21 @@ mod database; -mod label; -mod page; +mod item; mod widget; use database::Database; -use label::Label; -use page::Page; +use item::Item; use sqlite::Transaction; use widget::Widget; use gtk::{ gio::SimpleAction, - glib::{uuid_string_random, GString}, + glib::GString, prelude::{ActionExt, WidgetExt}, - GestureClick, Notebook, + Notebook, }; use std::{cell::RefCell, collections::HashMap, sync::Arc}; -// Common struct for HashMap index -pub struct TabItem { - label: Arc