diff --git a/hammond-gtk/src/content.rs b/hammond-gtk/src/content.rs index f707b76..6a38fae 100644 --- a/hammond-gtk/src/content.rs +++ b/hammond-gtk/src/content.rs @@ -53,8 +53,8 @@ impl Content { } fn setup_stack(&self) { - self.stack - .set_transition_type(gtk::StackTransitionType::SlideLeftRight); + // self.stack + // .set_transition_type(gtk::StackTransitionType::SlideLeftRight); self.stack.add_named(&self.widget.container, "widget"); self.stack.add_named(&self.podcasts.container, "podcasts"); diff --git a/hammond-gtk/src/views/podcasts.rs b/hammond-gtk/src/views/podcasts.rs index 8a2e4e4..1b6cc8f 100644 --- a/hammond-gtk/src/views/podcasts.rs +++ b/hammond-gtk/src/views/podcasts.rs @@ -138,7 +138,7 @@ fn on_flowbox_child_activate(stack: >k::Stack, parent: &Podcast) { stack.remove(&old); stack.add_named(&pdw.container, "widget"); - stack.set_visible_child_name("widget"); + stack.set_visible_child_full("widget", gtk::StackTransitionType::SlideLeft); // aggresive memory cleanup // probably not needed