gcal-event-widget: Update labels when time-format changes

When the time format changes in Settings,
events in the week/month views did not update at runtime.

This connects the appropriate signal so the widget updates immediately.

Fixes #1373

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/625>
This commit is contained in:
Daniele Ziaco
2025-08-20 23:29:44 +00:00
committed by Marge Bot
parent ea7e3635fb
commit 1f86255e33
+7
View File
@@ -512,6 +512,13 @@ gcal_event_widget_set_event_internal (GcalEventWidget *self,
self,
G_CONNECT_SWAPPED);
g_signal_connect_object (self->context,
"notify::time-format",
G_CALLBACK (gcal_event_widget_update_timestamp),
self,
G_CONNECT_SWAPPED);
/* Tooltip */
gcal_event_widget_set_event_tooltip (self, event);