Files
federated-calendar/src/gui/event-editor/gcal-summary-section.ui
T
Hari Rana ddb54c8c1c event-editor: Improve event name validation handling
- Fix a bug where clicking the "Add Event" button created an empty title in the event editor dialog.
- Add "error" class when the user writes an invalid event name.
- Add new function to validate event name.

Because the sections are split into files, the event editor will need a signal to check that each section is correct, and each section will have to emit the signal. This will need to be done in a future commit.
2024-02-25 08:55:17 -05:00

34 lines
884 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GcalSummarySection" parent="AdwBin">
<child>
<object class="GtkListBox">
<property name="selection-mode">none</property>
<style>
<class name="boxed-list" />
</style>
<!-- Summary -->
<child>
<object class="AdwEntryRow" id="summary_entry">
<property name="title" translatable="yes">Title</property>
<signal name="changed" handler="on_summary_entry_text_changed_cb" object="GcalSummarySection" swapped="no" />
</object>
</child>
<!-- Location -->
<child>
<object class="AdwEntryRow" id="location_entry">
<property name="title" translatable="yes">Location</property>
</object>
</child>
</object>
</child>
</template>
</interface>