event-widget: Add the timestamp-policy property

This gives some control on what time is displayed on the widget. It will
be used to show the time of the end of an event in the agenda view.
This commit is contained in:
Adrien Plazas
2022-06-16 08:23:45 -03:00
committed by Georges Basile Stavracas Neto
parent 0d27b08803
commit cb439095a5
5 changed files with 91 additions and 20 deletions
+3
View File
@@ -57,6 +57,9 @@ void gcal_event_widget_set_date_end (GcalEventWidge
void gcal_event_widget_set_read_only (GcalEventWidget *event,
gboolean read_only);
void gcal_event_widget_set_timestamp_policy (GcalEventWidget *event,
GcalTimestampPolicy timestamp_policy);
void gcal_event_widget_show_preview (GcalEventWidget *self,
GcalEventPreviewCallback callback,
gpointer user_data);