Fix: avoid using deprecated functions

This commit is contained in:
Denis Benato
2026-01-13 21:49:14 +01:00
parent 5e48923db1
commit b521a9ffc1

View File

@@ -170,7 +170,7 @@ pub fn init_tray(_supported_properties: Vec<Properties>, config: Arc<Mutex<Confi
// TODO: return an error to the UI
let mut tray;
match tray_init.spawn_without_dbus_name().await {
match tray_init.disable_dbus_name(true).spawn().await {
Ok(t) => tray = t,
Err(e) => {
log::error!(