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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user