chore: align applets with local stack
Some checks failed
Continuous Integration / linting (push) Has been cancelled
Continuous Integration / formatting (push) Has been cancelled

This commit is contained in:
Lionel DARNIS 2026-05-23 20:49:24 +02:00
parent 1c7143af97
commit 6c24edfae2
39 changed files with 165 additions and 313 deletions

View file

@ -11,7 +11,6 @@ use cosmic::{
iced::{
self, Length, Subscription,
platform_specific::shell::commands::popup::{destroy_popup, get_popup},
theme::Style,
window,
},
surface,
@ -25,6 +24,7 @@ use crate::{
};
#[derive(Clone, Debug)]
#[allow(dead_code)]
pub enum Msg {
None,
Activate(usize),
@ -577,7 +577,7 @@ fn menu_icon_button<'a>(
let icon = menu.icon_handle().clone();
let theme = cosmic::theme::active();
let theme = theme.cosmic();
let _theme = theme.cosmic();
let suggested = applet.suggested_size(true);
let padding = applet.suggested_padding(true).1;

View file

@ -8,7 +8,7 @@ use cosmic::{
iced,
widget::icon::{self, IconFallback},
};
use std::path::{Path, PathBuf};
use std::path::Path;
use crate::subscriptions::status_notifier_item::{IconUpdate, Layout, StatusNotifierItem};