diff --git a/src/components/window/reset_window.rs b/src/components/window/reset_window.rs index 0d0c05c..2ffd28e 100644 --- a/src/components/window/reset_window.rs +++ b/src/components/window/reset_window.rs @@ -191,7 +191,7 @@ impl ReSetWindow { .connect_row_activated(clone!(@ weak self_imp => move |_, _| { self_imp.reset_search_entry.set_text(""); })); - + // TODO refactor this let mut i = 0; for info in sidebar_list { if info.parent.is_none() && i != 0 { diff --git a/src/components/window/sidebar_entry.rs b/src/components/window/sidebar_entry.rs index e2eb81d..c07c4ce 100644 --- a/src/components/window/sidebar_entry.rs +++ b/src/components/window/sidebar_entry.rs @@ -16,6 +16,7 @@ glib::wrapper! { } impl SidebarEntry { + // TODO refactor new and new_plugin pub fn new(info: &ReSetSidebarInfo) -> Self { let entry: SidebarEntry = Object::builder().build(); let entry_imp = entry.imp();