mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-16 11:16:45 -04:00
user_manager: Don't cache properties
This commit is contained in:
parent
55b2acb533
commit
752ebfc297
1 changed files with 8 additions and 7 deletions
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use tracing::error;
|
use tracing::error;
|
||||||
|
use zbus::proxy::Builder;
|
||||||
use zbus::zvariant::Fd;
|
use zbus::zvariant::Fd;
|
||||||
use zbus::{interface, Connection, Proxy, SignalContext};
|
use zbus::{interface, Connection, Proxy, SignalContext};
|
||||||
|
|
||||||
|
@ -58,13 +59,13 @@ impl SteamOSManagerUser {
|
||||||
pub async fn new(connection: Connection, system_conn: &Connection) -> Result<Self> {
|
pub async fn new(connection: Connection, system_conn: &Connection) -> Result<Self> {
|
||||||
Ok(SteamOSManagerUser {
|
Ok(SteamOSManagerUser {
|
||||||
hdmi_cec: HdmiCecControl::new(&connection).await?,
|
hdmi_cec: HdmiCecControl::new(&connection).await?,
|
||||||
proxy: Proxy::new(
|
proxy: Builder::new(system_conn)
|
||||||
system_conn,
|
.destination("com.steampowered.SteamOSManager1")?
|
||||||
"com.steampowered.SteamOSManager1",
|
.path("/com/steampowered/SteamOSManager1")?
|
||||||
"/com/steampowered/SteamOSManager1",
|
.interface("com.steampowered.SteamOSManager1.Manager")?
|
||||||
"com.steampowered.SteamOSManager1.Manager",
|
.cache_properties(zbus::CacheProperties::No)
|
||||||
)
|
.build()
|
||||||
.await?,
|
.await?,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue