EpisodesView: Added glade files and initial yak shaving.

This commit is contained in:
Jordan Petridis
2017-12-18 18:20:40 +02:00
parent 945600b20d
commit 32cd24fc7b
9 changed files with 190 additions and 34 deletions
+3 -3
View File
@@ -32,9 +32,9 @@ type Foo = RefCell<
thread_local!(static GLOBAL: Foo = RefCell::new(None));
#[derive(Debug)]
struct EpisodeWidget {
container: gtk::Box,
#[derive(Debug, Clone)]
pub struct EpisodeWidget {
pub container: gtk::Box,
play: gtk::Button,
delete: gtk::Button,
download: gtk::Button,
-4
View File
@@ -40,10 +40,6 @@ impl Default for ShowWidget {
let link: gtk::Button = builder.get_object("link_button").unwrap();
let settings: gtk::MenuButton = builder.get_object("settings_button").unwrap();
unsub
.get_style_context()
.map(|c| c.add_class("destructive-action"));
ShowWidget {
container,
cover,