Files
federated-calendar/src/gui/event-editor/gcal-time-chooser-row.blp
T
Jamie Gravendeel a509de8b1e gui: Port to Blueprint
This was mostly done with `blueprint-compiler port`.

Since Blueprint doesn't know about custom templates, I had to manually change some values from strings to literals.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/567>
2025-06-08 14:31:01 +02:00

37 lines
726 B
Plaintext

using Gtk 4.0;
using Adw 1;
template $GcalTimeChooserRow: Adw.EntryRow {
EventControllerFocus {
notify::contains-focus => $on_contains_focus_changed_cb(template) not-swapped;
}
MenuButton {
icon-name: "clock-alt-symbolic";
valign: center;
tooltip-text: _("Edit Time");
popover: Popover {
position: bottom;
margin-top: 12;
margin-bottom: 12;
margin-start: 12;
margin-end: 12;
$GcalTimeSelector time_selector {
notify::time => $on_time_selected_changed_cb(template) not-swapped;
}
show => $on_time_popover_shown_cb(template) not-swapped;
};
accessibility {
label: _("Edit time");
}
styles [
"flat",
]
}
}