From ed94d34589da6c40b050878449f13d8950f3e409 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Fri, 27 Apr 2018 11:41:39 +0300 Subject: [PATCH] h-gtk: Rename the stasckswitcher field in the Headerbar. --- hammond-gtk/src/stacks/content.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hammond-gtk/src/stacks/content.rs b/hammond-gtk/src/stacks/content.rs index 3bff486..a7deb6c 100644 --- a/hammond-gtk/src/stacks/content.rs +++ b/hammond-gtk/src/stacks/content.rs @@ -24,7 +24,7 @@ impl Content { let home = Rc::new(RefCell::new(HomeStack::new(sender.clone())?)); let shows = Rc::new(RefCell::new(ShowStack::new(sender.clone())?)); - stack.add_titled(&home.borrow().get_stack(), "home", "Recent Episodes"); + stack.add_titled(&home.borrow().get_stack(), "home", "Recent"); stack.add_titled(&shows.borrow().get_stack(), "shows", "Shows"); Ok(Content { @@ -63,7 +63,8 @@ impl Content { } pub fn update_shows_view(&self) { - self.shows.borrow_mut() + self.shows + .borrow_mut() .update() .map_err(|err| error!("Failed to update ShowsView: {}", err)) .ok();