diff --git a/Cargo.toml b/Cargo.toml
index 2467bf0..39ca08e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,19 +11,37 @@ discid = "0.4.4"
fragile = "1.0.0"
futures = "0.3.6"
futures-channel = "0.3.5"
-gdk = "0.13.2"
gettext-rs = "0.5.0"
-gio = "0.9.1"
-glib = "0.10.2"
-gtk = { version = "0.9.2", features = ["v3_24"] }
gtk-macros = "0.2.0"
gstreamer = "0.16.4"
gstreamer-player = "0.16.3"
isahc = "0.9.12"
-libhandy = "0.7.0"
-pango = "0.9.1"
rand = "0.7.3"
secret-service = "1.1.1"
serde = { version = "1.0.117", features = ["derive"] }
serde_json = "1.0.59"
uuid = { version = "0.8", features = ["v4"] }
+
+[dependencies.gdk]
+git = "https://github.com/gtk-rs/gtk4-rs/"
+package = "gdk4"
+
+[dependencies.gio]
+git = "https://github.com/gtk-rs/gtk-rs/"
+features = ["v2_64"]
+
+[dependencies.glib]
+git = "https://github.com/gtk-rs/gtk-rs/"
+features = ["v2_64"]
+
+[dependencies.gtk]
+git = "https://github.com/gtk-rs/gtk4-rs"
+package = "gtk4"
+
+[dependencies.libhandy]
+git = "https://gitlab.gnome.org/bilelmoussaoui/libhandy4-rs"
+package = "libhandy4"
+
+[dependencies.pango]
+git = "https://github.com/gtk-rs/gtk-rs/"
+features = ["v1_44"]
diff --git a/de.johrpan.musicus.json b/de.johrpan.musicus.json
index ae44bd2..573f915 100644
--- a/de.johrpan.musicus.json
+++ b/de.johrpan.musicus.json
@@ -92,6 +92,28 @@
}
]
},
+ {
+ "name" : "libhandy",
+ "buildsystem" : "meson",
+ "config-opts" : [
+ "-Dintrospection=enabled",
+ "-Dtests=false",
+ "-Dexamples=false",
+ "-Dvapi=false",
+ "-Dglade_catalog=disabled"
+ ],
+ "cleanup" : [
+ "/include",
+ "/lib/pkgconfig"
+ ],
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://gitlab.gnome.org/exalm/libhandy",
+ "branch" : "gtk4"
+ }
+ ]
+ },
{
"name" : "musicus",
"builddir" : true,
diff --git a/res/musicus.gresource.xml b/res/musicus.gresource.xml
index acc5530..bea74fa 100644
--- a/res/musicus.gresource.xml
+++ b/res/musicus.gresource.xml
@@ -3,24 +3,18 @@
ui/ensemble_editor.ui
ui/ensemble_screen.ui
- ui/ensemble_selector.ui
ui/instrument_editor.ui
- ui/instrument_selector.ui
ui/login_dialog.ui
ui/medium_editor.ui
ui/performance_editor.ui
ui/person_editor.ui
- ui/person_list.ui
ui/person_screen.ui
- ui/person_selector.ui
ui/player_bar.ui
ui/player_screen.ui
ui/poe_list.ui
ui/preferences.ui
ui/recording_editor.ui
ui/recording_screen.ui
- ui/recording_selector.ui
- ui/recording_selector_screen.ui
ui/selector.ui
ui/server_dialog.ui
ui/source_selector.ui
@@ -32,7 +26,5 @@
ui/work_part_editor.ui
ui/work_screen.ui
ui/work_section_editor.ui
- ui/work_selector.ui
- ui/work_selector_screen.ui
diff --git a/res/ui/ensemble_editor.ui b/res/ui/ensemble_editor.ui
index cb2f81d..a20e540 100644
--- a/res/ui/ensemble_editor.ui
+++ b/res/ui/ensemble_editor.ui
@@ -1,189 +1,132 @@
-
-
+
diff --git a/res/ui/ensemble_screen.ui b/res/ui/ensemble_screen.ui
index 140af01..a6aa910 100644
--- a/res/ui/ensemble_screen.ui
+++ b/res/ui/ensemble_screen.ui
@@ -1,132 +1,73 @@
-
-
+
- True
- False
vertical
-
- False
- True
- 0
-
-
- True
- False
+
False
- True
- False
400
+ true
- True
- True
- edit-find-symbolic
- False
- False
Search recordings …
-
- False
- True
- 1
-
- True
- False
-
- True
- False
- True
-
-
+
loading
-
+
+
+ True
+
+
+
-
- True
- True
-
-
- True
- False
- none
+
+ content
+
+
+ true
- True
- False
12
12
18
@@ -134,71 +75,40 @@
800
- True
- False
vertical
12
- True
- False
start
Recordings
-
- False
- True
- 0
-
- True
- False
- 0
- in
-
-
-
-
- False
- True
- 1
-
-
+
-
- content
- 1
-
-
- True
- False
- No recordings found.
-
-
+
nothing
- 2
-
+
+
+ No recordings found.
+
+
+
-
- True
- True
- 2
-