Update uses of relm4-macros to relm4 next branch
This commit is contained in:
parent
3782df1e96
commit
04c7e73dec
10 changed files with 31 additions and 15 deletions
|
|
@ -8,7 +8,7 @@ edition = "2021"
|
|||
[dependencies]
|
||||
gtk4 = { version = "0.4.6", features = ["v4_2"] }
|
||||
once_cell = "1.9.0"
|
||||
relm4-macros = "0.4.4"
|
||||
relm4-macros = { git = "https://github.com/Relm4/Relm4.git", branch = "next" }
|
||||
tokio = { version = "1.16.1", features = ["full"] }
|
||||
zbus = "2.1.1"
|
||||
cosmic-panel-config = {git = "https://github.com/pop-os/cosmic-panel", features = ["gtk4"]}
|
||||
|
|
|
|||
|
|
@ -123,7 +123,8 @@ fn build_ui(application: >k4::Application) {
|
|||
set_visible: false,
|
||||
add_css_class: "loading-overlay",
|
||||
},
|
||||
set_child: main_box = Some(>k4::Box) {
|
||||
#[wrap(Some)]
|
||||
set_child: main_box = >k4::Box {
|
||||
set_orientation: Orientation::Vertical,
|
||||
set_spacing: 10,
|
||||
set_margin_top: 20,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue