fix: missing icons and actions from the dock

This commit is contained in:
Michael Aaron Murphy 2025-04-02 17:26:07 +02:00
parent 6b47c3b5b9
commit 25263dad7d
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
10 changed files with 705 additions and 544 deletions

View file

@ -2,7 +2,7 @@
// SPDX-License-Identifier: GPL-3.0-only
use cosmic::{
desktop::IconSource,
desktop::{fde, IconSourceExt},
iced::Limits,
iced_core::{layout, overlay, widget::Tree, Border, Layout, Length, Size, Vector},
theme::{Button, Container},
@ -23,7 +23,7 @@ where
{
pub fn new(
img: Option<WaylandImage>,
icon: &IconSource,
icon: &fde::IconSource,
size: f32,
on_press: Msg,
padding: u16,