sidebar: Move category types into a subfolder
This commit is contained in:
parent
545467878b
commit
b41d953e1b
5 changed files with 12 additions and 11 deletions
|
@ -93,8 +93,8 @@ src/session/room/mod.rs
|
|||
src/session/room/timeline/timeline_day_divider.rs
|
||||
src/session/room_creation/mod.rs
|
||||
src/session/room_list.rs
|
||||
src/session/sidebar/category_row.rs
|
||||
src/session/sidebar/category_type.rs
|
||||
src/session/sidebar/category/category_row.rs
|
||||
src/session/sidebar/category/category_type.rs
|
||||
src/session/sidebar/entry_type.rs
|
||||
src/session/verification/identity_verification.rs
|
||||
src/user_facing_error.rs
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
use gtk::{gio, glib, glib::clone, prelude::*, subclass::prelude::*};
|
||||
|
||||
use super::{CategoryType, SidebarItem, SidebarItemExt, SidebarItemImpl};
|
||||
mod category_row;
|
||||
mod category_type;
|
||||
|
||||
pub use self::{category_row::CategoryRow, category_type::CategoryType};
|
||||
use super::{SidebarItem, SidebarItemExt, SidebarItemImpl};
|
||||
use crate::session::{
|
||||
room::{Room, RoomType},
|
||||
room_list::RoomList,
|
|
@ -1,6 +1,4 @@
|
|||
mod category;
|
||||
mod category_row;
|
||||
mod category_type;
|
||||
mod entry;
|
||||
mod entry_row;
|
||||
mod entry_type;
|
||||
|
@ -15,18 +13,17 @@ use adw::{prelude::*, subclass::prelude::*};
|
|||
use gtk::{gio, glib, glib::clone, CompositeTemplate};
|
||||
use log::error;
|
||||
|
||||
use self::{
|
||||
category::CategoryRow, entry_row::EntryRow, room_row::RoomRow, row::Row, selection::Selection,
|
||||
verification_row::VerificationRow,
|
||||
};
|
||||
pub use self::{
|
||||
category::Category,
|
||||
category_type::CategoryType,
|
||||
category::{Category, CategoryType},
|
||||
entry::Entry,
|
||||
entry_type::EntryType,
|
||||
item_list::ItemList,
|
||||
sidebar_item::{SidebarItem, SidebarItemExt, SidebarItemImpl},
|
||||
};
|
||||
use self::{
|
||||
category_row::CategoryRow, entry_row::EntryRow, room_row::RoomRow, row::Row,
|
||||
selection::Selection, verification_row::VerificationRow,
|
||||
};
|
||||
use crate::{
|
||||
components::Avatar,
|
||||
session::{
|
||||
|
|
Loading…
Reference in a new issue