chore: update libcosmic and reduce binary size
This commit is contained in:
parent
3ff7f279ab
commit
62bb9f57d9
4 changed files with 39 additions and 55 deletions
|
|
@ -37,7 +37,7 @@ futures = "0.3.30"
|
|||
hostname-validator = "1.1.1"
|
||||
hostname1-zbus = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
||||
i18n-embed-fl = "0.9.1"
|
||||
image = "0.25"
|
||||
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "rayon", "webp", "hdr"] }
|
||||
indexmap = "2.5.0"
|
||||
itertools = "0.13.0"
|
||||
itoa = "1.0.11"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ use cosmic::iced::id::Internal;
|
|||
use cosmic::iced::Vector;
|
||||
|
||||
use cosmic::iced_core;
|
||||
use cosmic::iced_core::clipboard::IconSurface;
|
||||
use cosmic::widget::{button, column, container, icon, list_column, row, text, text_input, Column};
|
||||
|
||||
use cosmic::{
|
||||
|
|
@ -1024,16 +1025,16 @@ where
|
|||
iced_core::clipboard::start_dnd::<
|
||||
cosmic::Theme,
|
||||
cosmic::Renderer,
|
||||
(),
|
||||
>(
|
||||
clipboard,
|
||||
false,
|
||||
Some(iced_core::clipboard::DndSource::Widget(
|
||||
self.id.clone(),
|
||||
)),
|
||||
Some((
|
||||
Some(IconSurface::new(
|
||||
dnd_icon(applet.clone(), &layout).into(),
|
||||
iced_core::widget::tree::State::new(state.clone()),
|
||||
iced_core::Vector::new(0.0, 0.0),
|
||||
)),
|
||||
Box::new(AppletString(p.clone())),
|
||||
DndAction::Move,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue