mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-13 18:02:00 -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 tracing::error;
|
||||
use zbus::proxy::Builder;
|
||||
use zbus::zvariant::Fd;
|
||||
use zbus::{interface, Connection, Proxy, SignalContext};
|
||||
|
||||
|
@ -58,13 +59,13 @@ impl SteamOSManagerUser {
|
|||
pub async fn new(connection: Connection, system_conn: &Connection) -> Result<Self> {
|
||||
Ok(SteamOSManagerUser {
|
||||
hdmi_cec: HdmiCecControl::new(&connection).await?,
|
||||
proxy: Proxy::new(
|
||||
system_conn,
|
||||
"com.steampowered.SteamOSManager1",
|
||||
"/com/steampowered/SteamOSManager1",
|
||||
"com.steampowered.SteamOSManager1.Manager",
|
||||
)
|
||||
.await?,
|
||||
proxy: Builder::new(system_conn)
|
||||
.destination("com.steampowered.SteamOSManager1")?
|
||||
.path("/com/steampowered/SteamOSManager1")?
|
||||
.interface("com.steampowered.SteamOSManager1.Manager")?
|
||||
.cache_properties(zbus::CacheProperties::No)
|
||||
.build()
|
||||
.await?,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue