diff --git a/TODO.md b/TODO.md index ea7b8ac..c6f9265 100644 --- a/TODO.md +++ b/TODO.md @@ -48,6 +48,7 @@ ## Secondary: +- [ ] Discuss and decide when to schedule the download cleaner. [#3](https://gitlab.gnome.org/alatiera/Hammond/issues/3) - [ ] Unplayed Only and Downloaded only view. - [ ] Auto-updater, update on startup - [ ] Make use of file metadas, [This](https://github.com/GuillaumeGomez/audio-video-metadata) might be helpfull. @@ -55,7 +56,6 @@ **DB changes:** -- [ ] Discuss and decide when to schedule the download cleaner. - [ ] Mark episodes/podcast for archival - [ ] Mark stuff as Favorite. Maybe auto-archive favorites? diff --git a/assets/banner.png b/assets/banner.png index 9b1af94..97ed16b 100644 Binary files a/assets/banner.png and b/assets/banner.png differ diff --git a/hammond-gtk/gtk/podcasts_child.ui b/hammond-gtk/gtk/podcasts_child.ui index 2497c21..b08f0ef 100644 --- a/hammond-gtk/gtk/podcasts_child.ui +++ b/hammond-gtk/gtk/podcasts_child.ui @@ -3,8 +3,8 @@ - 200 - 200 + 256 + 256 True False center @@ -44,12 +44,16 @@ 2 @@ -73,7 +77,7 @@ center end True - 30 + 35 False diff --git a/hammond-gtk/src/main.rs b/hammond-gtk/src/main.rs index 6525d6e..3d19ebb 100644 --- a/hammond-gtk/src/main.rs +++ b/hammond-gtk/src/main.rs @@ -43,7 +43,7 @@ fn build_ui(app: >k::Application) { // Get the main window let window = gtk::ApplicationWindow::new(app); - window.set_default_size(1050, 600); + window.set_default_size(1150, 650); // Setup the Stack that will manage the switch between podcasts_view and podcast_widget. let stack = podcasts_view::setup_stack(&db); window.add(&stack); diff --git a/hammond-gtk/src/widgets/podcast.rs b/hammond-gtk/src/widgets/podcast.rs index 14c8438..7aaf613 100644 --- a/hammond-gtk/src/widgets/podcast.rs +++ b/hammond-gtk/src/widgets/podcast.rs @@ -150,7 +150,7 @@ pub fn create_flowbox_child(db: &Database, pd: &Podcast) -> gtk::FlowBoxChild { } fn configure_banner(db: &Database, pd: &Podcast, banner: >k::Image, banner_title: >k::Label) { - let bann = Pixbuf::new_from_file_at_scale("assets/banner.png", 100, 100, true); + let bann = Pixbuf::new_from_file_at_scale("assets/banner.png", 256, 256, true); if let Ok(b) = bann { banner.set_from_pixbuf(&b); @@ -186,7 +186,7 @@ pub fn on_flowbox_child_activate(db: &Database, stack: >k::Stack, parent: &Pod fn get_pixbuf_from_path(img_path: Option<&str>, pd_title: &str) -> Option { let img_path = downloader::cache_image(pd_title, img_path); if let Some(i) = img_path { - Pixbuf::new_from_file_at_scale(&i, 200, 200, true).ok() + Pixbuf::new_from_file_at_scale(&i, 256, 256, true).ok() } else { None }