Compare commits

...

2 commits

4 changed files with 7 additions and 17 deletions

13
Cargo.lock generated
View file

@ -924,18 +924,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86" checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86"
dependencies = [ dependencies = [
"pin-project-lite", "pin-project-lite",
"tokio-macros",
]
[[package]]
name = "tokio-macros"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5"
dependencies = [
"proc-macro2",
"quote",
"syn",
] ]
[[package]] [[package]]
@ -1122,5 +1110,4 @@ dependencies = [
"gtk4", "gtk4",
"libadwaita", "libadwaita",
"relm4", "relm4",
"tokio",
] ]

View file

@ -17,7 +17,4 @@ glib-build-tools = "0.21.0"
async-sqlite = { version = "0.5.4", default-features = false } async-sqlite = { version = "0.5.4", default-features = false }
gtk4 = { version = "0.10.3", features = ["v4_20"] } gtk4 = { version = "0.10.3", features = ["v4_20"] }
libadwaita = { version = "0.8.1", features = ["v1_8"] } libadwaita = { version = "0.8.1", features = ["v1_8"] }
relm4 = { version = "0.10.1", features = ["gnome_48"] } relm4 = { version = "0.10.1", features = ["gnome_48", "libadwaita"] }
# Tokio as included in Relm4 doesn't have the macros feature enabled.
# Keep version in sync with the one Relm4 uses.
tokio = { version = "1.47.3", features = ["macros", "rt", "rt-multi-thread", "sync"] }

View file

@ -40,6 +40,9 @@ impl Component for FilmGrid {
set_propagate_natural_height: true, set_propagate_natural_height: true,
#[name="grid"] #[name="grid"]
// TODO: Replace this with a GridView.
// Once this is done we can replace the factory with a TypedGridView for better performance
// (i.e. lazy item rendering) if needed. This should also enable less cursed sorting.
FlowBox { FlowBox {
set_orientation: Orientation::Horizontal, set_orientation: Orientation::Horizontal,
set_homogeneous: true, set_homogeneous: true,

View file

@ -40,6 +40,9 @@ impl Component for SeriesGrid {
set_propagate_natural_height: true, set_propagate_natural_height: true,
#[name="grid"] #[name="grid"]
// TODO: Replace this with a GridView.
// Once this is done we can replace the factory with a TypedGridView for better performance
// (i.e. lazy item rendering) if needed. This should also enable less cursed sorting.
FlowBox { FlowBox {
set_orientation: Orientation::Horizontal, set_orientation: Orientation::Horizontal,
set_homogeneous: true, set_homogeneous: true,