Update dependencies, and use workspace dependencies
Using `[workspace.dependencies]`, we can update `rev =` for a dependency in one place, instead of each individual applet.
This commit is contained in:
parent
322e13c80d
commit
294cf6f3a7
16 changed files with 370 additions and 280 deletions
|
|
@ -5,9 +5,9 @@ edition = "2021"
|
|||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[dependencies]
|
||||
cctk = { git = "https://github.com/pop-os/cosmic-protocols", package = "cosmic-client-toolkit", rev = "f0cfe09" }
|
||||
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols", default-features = false, features = ["client"], rev = "f0cfe09" }
|
||||
libcosmic = { git = "https://github.com/pop-os/libcosmic/", default-features = false, features = ["wayland", "tokio"] }
|
||||
cctk.workspace = true
|
||||
cosmic-protocols.workspace = true
|
||||
libcosmic.workspace = true
|
||||
cosmic-applet = { path = "../applet" }
|
||||
# libcosmic = { path = "../../libcosmic", default-features = false, features = ["wayland", "tokio"] }
|
||||
ron = "0.8"
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ impl DockItem {
|
|||
)
|
||||
.on_right_release(Message::Popup(desktop_info.id.clone())),
|
||||
)
|
||||
.on_drag(Message::StartDrag(desktop_info.id.clone()))
|
||||
.on_drag(|_| Message::StartDrag(desktop_info.id.clone()))
|
||||
.on_cancelled(Message::DragFinished)
|
||||
.on_finished(Message::DragFinished)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue