event-editor/event-editor-dialog: Compare original event with edited event

This also takes the opportunity to rework the save process.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/711>
This commit is contained in:
Hari Rana
2026-06-26 08:22:32 -04:00
parent 854d991134
commit d62c2386b8
2 changed files with 40 additions and 105 deletions
@@ -47,7 +47,7 @@ template $GcalEventEditorDialog: Adw.Dialog {
}
}
$GcalScheduleSection schedule_section {
$GcalScheduleSection {
sensitive: bind template.writable;
}
@@ -55,12 +55,12 @@ template $GcalEventEditorDialog: Adw.Dialog {
sensitive: bind template.writable;
}
$GcalRemindersSection reminders_section {
$GcalRemindersSection {
title: _("Reminders");
sensitive: bind template.writable;
}
$GcalNotesSection notes_section {
$GcalNotesSection {
sensitive: bind template.writable;
}