Update uses of relm4-macros to relm4 next branch

This commit is contained in:
Ian Douglas Scott 2022-06-29 12:00:18 -07:00
parent 3782df1e96
commit 04c7e73dec
10 changed files with 31 additions and 15 deletions

View file

@ -10,9 +10,9 @@ futures-util = "0.3.21"
gtk4 = "0.4.6"
itertools = "0.10.3"
once_cell = "1.9.0"
relm4-macros = "0.4.4"
relm4-macros = { git = "https://github.com/Relm4/Relm4.git", branch = "next" }
slotmap = "1.0.6"
tokio = { version = "1.15.0", features = ["full"] }
zbus = "2.0.1"
libcosmic-widgets = { git = "https://github.com/pop-os/libcosmic" }
cosmic-panel-config = {git = "https://github.com/pop-os/cosmic-panel", features = ["gtk4"]}
cosmic-panel-config = {git = "https://github.com/pop-os/cosmic-panel", features = ["gtk4"]}

View file

@ -59,7 +59,8 @@ fn build_aps_list(
for ap in aps {
view! {
entry = ListBoxRow {
set_child: entry_box = Some(&gtk4::Box) {
#[wrap(Some)]
set_child: entry_box = &gtk4::Box {
container_add: labeled_item = &LabeledItem {
set_title: &ap.ssid,
set_child: icon = &Image {