diff --git a/src/components/window/window.rs b/src/components/window/window.rs index 85618fe..4779d3c 100644 --- a/src/components/window/window.rs +++ b/src/components/window/window.rs @@ -2,7 +2,7 @@ use adw::BreakpointCondition; use adw::glib::clone; use adw::subclass::prelude::ObjectSubclassIsExt; use glib::Object; -use gtk::{Application, gio, glib, Orientation}; +use gtk::{Application, gio, glib, ListBoxRow, Orientation}; use gtk::prelude::*; use crate::components::window::handleSidebarClick::*; @@ -208,7 +208,10 @@ impl Window { for subEntry in subEntries { selfImp.resetSidebarList.append(subEntry); } - selfImp.resetSidebarList.append(>k::Separator::new(Orientation::Horizontal)) + let separator = ListBoxRow::new(); + separator.set_child(Some(>k::Separator::new(Orientation::Horizontal))); + separator.set_activatable(false); + selfImp.resetSidebarList.append(&separator); } }