event-editor/summary-section: Update editability of widgets
Related: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/work_items/737> Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/499>
This commit is contained in:
@@ -5,10 +5,12 @@ template $GcalSummarySection: $GcalEventEditorSection {
|
|||||||
Adw.EntryRow summary_entry {
|
Adw.EntryRow summary_entry {
|
||||||
title: _("Title");
|
title: _("Title");
|
||||||
notify::text => $on_summary_entry_text_changed_cb(template);
|
notify::text => $on_summary_entry_text_changed_cb(template);
|
||||||
|
editable: bind template.dialog as <$GcalEventEditorDialog>.writable;
|
||||||
}
|
}
|
||||||
|
|
||||||
Adw.EntryRow location_entry {
|
Adw.EntryRow location_entry {
|
||||||
title: _("Location");
|
title: _("Location");
|
||||||
notify::text => $on_location_entry_changed_cb(template);
|
notify::text => $on_location_entry_changed_cb(template);
|
||||||
|
editable: bind template.dialog as <$GcalEventEditorDialog>.writable;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user