mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
refactor: put in basic placeholders for menu icon diffs
This commit is contained in:
parent
662ddb6946
commit
486beff8a5
2 changed files with 12 additions and 5 deletions
|
@ -343,9 +343,13 @@ impl TrayMenuItem {
|
|||
}
|
||||
|
||||
// TODO: Image support
|
||||
// if let Some(icon_name) = diff.icon_name {
|
||||
//
|
||||
// }
|
||||
if let Some(_icon_name) = diff.icon_name {
|
||||
warn!("received unimplemented menu icon update");
|
||||
}
|
||||
|
||||
if let Some(_icon_data) = diff.icon_data {
|
||||
warn!("received unimplemented menu icon update");
|
||||
}
|
||||
|
||||
if let Some(enabled) = diff.enabled {
|
||||
match &self.widget {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue