gui/event-popover: Add export button

Adds an export button to the event popover, allowing users to export
the selected event as an ICS file.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1276
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/602>
This commit is contained in:
FineFindus
2025-07-11 16:25:30 +00:00
committed by Marge Bot
parent 1075857a34
commit a00a1f01bb
4 changed files with 87 additions and 0 deletions
+13
View File
@@ -64,6 +64,19 @@ template $GcalEventPopover: Popover {
]
}
Button ics_export_button {
valign: start;
halign: end;
icon-name: "share-symbolic";
tooltip-text: _("Export Event");
styles [
"circular",
]
clicked => $on_ics_export_button_clicked_cb(template) not-swapped;
}
Button action_button {
can-focus: true;
valign: start;