From 87c3c35666b926a24a1e8045fd70be2db1145e34 Mon Sep 17 00:00:00 2001 From: TMilburnPodPoint <94366091+TMilburnPodPoint@users.noreply.github.com> Date: Thu, 8 Jan 2026 18:29:20 +0000 Subject: [PATCH] fix(timedate): configure properties as having no change signal --- timedate/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/timedate/src/lib.rs b/timedate/src/lib.rs index 2ffc671..00d6467 100644 --- a/timedate/src/lib.rs +++ b/timedate/src/lib.rs @@ -46,7 +46,7 @@ pub trait TimeDate { fn set_timezone(&self, timezone: &str, interactive: bool) -> zbus::Result<()>; /// Shows whether a service to perform time synchronization over network is available. - #[zbus(property, name = "CanNTP")] + #[zbus(property(emits_changed_signal = "false"), name = "CanNTP")] fn can_ntp(&self) -> zbus::Result; /// Shows whether the RTC is configured to use UTC or the local time zone. @@ -58,15 +58,15 @@ pub trait TimeDate { fn ntp(&self) -> zbus::Result; /// Shows whether the kernel reports the time as synchronized. - #[zbus(property, name = "NTPSynchronized")] + #[zbus(property(emits_changed_signal = "false"), name = "NTPSynchronized")] fn ntp_synchronized(&self) -> zbus::Result; /// Shows the current time in RTC. - #[zbus(property, name = "RTCTimeUSec")] + #[zbus(property(emits_changed_signal = "false"), name = "RTCTimeUSec")] fn rtctime_usec(&self) -> zbus::Result; /// Shows the current time. - #[zbus(property, name = "TimeUSec")] + #[zbus(property(emits_changed_signal = "false"), name = "TimeUSec")] fn time_usec(&self) -> zbus::Result; /// Shows the currently-configured time zone.