diff --git a/hammond-gtk/resources/gtk/show_widget.ui b/hammond-gtk/resources/gtk/show_widget.ui
index 2b54c11..6aaf5da 100644
--- a/hammond-gtk/resources/gtk/show_widget.ui
+++ b/hammond-gtk/resources/gtk/show_widget.ui
@@ -279,7 +279,7 @@ Tobias Bernard
True
True
True
- Mark all epiodes as Watched
+ Mark all episodes as listened
True
diff --git a/hammond-gtk/src/app.rs b/hammond-gtk/src/app.rs
index 9a4e8b1..5f68a6e 100644
--- a/hammond-gtk/src/app.rs
+++ b/hammond-gtk/src/app.rs
@@ -162,17 +162,15 @@ impl App {
Ok(Action::HeaderBarShowUpdateIndicator) => headerbar.show_update_notification(),
Ok(Action::HeaderBarHideUpdateIndicator) => headerbar.hide_update_notification(),
Ok(Action::MarkAllPlayerNotification(pd)) => {
- let sender = sender.clone();
let callback = clone!(sender => move || {
if let Err(err) = mark_all_watched(&pd, sender.clone()) {
error!("Something went horribly wrong with the notif callback: {}", err);
}
glib::Continue(false)
});
- let text = "All episodes where marked as watched.";
- let sender = sender.clone();
- let notif = InAppNotification::new(text.into(), callback, sender);
+ let text = "Marked all episodes as listened.";
+ let notif = InAppNotification::new(text.into(), callback, sender.clone());
overlay.add_overlay(¬if.overlay);
// We need to display the notification after the widget is added to the overlay
// so there will be a nice animation.