event-editor/event-editor-dialog: Unset sensitiveness of widgets
Only GcalCalendarComboRow, GcalAttendeesSection, and GcalRemindersSection remain unfocusable on read-only events. In the case of GcalRemindersSection, we eventually want to allow setting reminders regardless of the writable state of the event; however, since dialog is centered around the assumption that a read-only event should never be edited, which includes reminders, these changes will have to be done in a separate merge request. Closes: <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:
@@ -38,7 +38,6 @@ template $GcalEventEditorDialog: Adw.Dialog {
|
|||||||
};
|
};
|
||||||
|
|
||||||
$GcalSummarySection summary_section {
|
$GcalSummarySection summary_section {
|
||||||
sensitive: bind template.writable;
|
|
||||||
dialog: template;
|
dialog: template;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,7 +48,6 @@ template $GcalEventEditorDialog: Adw.Dialog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$GcalScheduleSection {
|
$GcalScheduleSection {
|
||||||
sensitive: bind template.writable;
|
|
||||||
dialog: template;
|
dialog: template;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -65,7 +63,6 @@ template $GcalEventEditorDialog: Adw.Dialog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$GcalNotesSection {
|
$GcalNotesSection {
|
||||||
sensitive: bind template.writable;
|
|
||||||
dialog: template;
|
dialog: template;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user