diff --git a/hammond-gtk/resources/gtk/episode_widget.ui b/hammond-gtk/resources/gtk/episode_widget.ui index c18c8a3..dbf6a43 100644 --- a/hammond-gtk/resources/gtk/episode_widget.ui +++ b/hammond-gtk/resources/gtk/episode_widget.ui @@ -58,6 +58,9 @@ 1970/01/01 True False + False @@ -71,6 +74,9 @@ True · False + False @@ -85,6 +91,9 @@ 42 min True False + False @@ -98,6 +107,9 @@ False · False + False @@ -112,6 +124,9 @@ 42 MB True False + False @@ -126,6 +141,9 @@ 12 MB / 42 MB True False + False diff --git a/hammond-gtk/src/widgets/episode.rs b/hammond-gtk/src/widgets/episode.rs index 9a9c673..fd9888d 100644 --- a/hammond-gtk/src/widgets/episode.rs +++ b/hammond-gtk/src/widgets/episode.rs @@ -65,22 +65,6 @@ impl Default for EpisodeWidget { let size: gtk::Label = builder.get_object("size_label").unwrap(); let progress_label: gtk::Label = builder.get_object("progress_label").unwrap(); - let sep1: gtk::Label = builder.get_object("separator1").unwrap(); - let sep2: gtk::Label = builder.get_object("separator2").unwrap(); - - // Dim(grey out) the labels. - // If it's possible through glade, feel free to open a PR. - duration - .get_style_context() - .map(|c| c.add_class("dim-label")); - progress_label - .get_style_context() - .map(|c| c.add_class("dim-label")); - date.get_style_context().map(|c| c.add_class("dim-label")); - size.get_style_context().map(|c| c.add_class("dim-label")); - sep1.get_style_context().map(|c| c.add_class("dim-label")); - sep2.get_style_context().map(|c| c.add_class("dim-label")); - EpisodeWidget { container, progress,