Georges Basile Stavracas Neto
2139f40e67
project: Adjust color rendering to use GdkPaintable
2022-02-11 09:18:38 -03:00
Adrien Plazas
598e9814fc
event-editor-dialog: Make it resizable
...
This also sets a reasonable default height and stops giving the scrolled
window a max height. This will allows it to fit in phone screens.
2021-10-15 16:27:09 +02:00
Georges Basile Stavracas Neto
4c24103bae
event-editor-dialog: Make 'event' property read-only
...
It is not meant to be set externally.
2020-10-31 16:15:54 -03:00
Georges Basile Stavracas Neto
b0cdca78b1
event-editor-dialog: Unify set_event and set_event_is_new
...
The split is annoying, and a relic of time.
2020-10-31 16:15:54 -03:00
Georges Basile Stavracas Neto
7e10c6d451
event-editor-dialog: Stop using response type
...
Using dialog responses to communicate intent to GcalWindow was always
a hack, and as the code is cleaned, it's getting increasingly annoying.
Replace this with a proper 'remove-event' signal ('delete-event' would
conflict with the equally named GTK signal), remove the custom response
types, and cleanup the code.
2020-10-31 16:15:54 -03:00
Georges Basile Stavracas Neto
1480d7ac70
event-editor-dialog: Code cleanup
...
Use g_autofoo when possible; avoid allocating new strings when fetching
from GVariant; sort and reorder fields.
2020-10-31 16:15:54 -03:00
Georges Basile Stavracas Neto
c098dc7aa7
event-editor-dialog: Store sections in an array
...
It allows us to simplify some boring copy-pasted code.
2020-10-31 16:15:54 -03:00
Georges Basile Stavracas Neto
3a9f9009a4
event-editor-dialog: Remove dead code
...
These weren't being used anywhere.
2020-10-31 16:15:54 -03:00
Georges Basile Stavracas Neto
0f1dc88030
event-editor-dialog: Move notes to GcalNotesSection
2020-10-31 16:15:49 -03:00
Georges Basile Stavracas Neto
73cbe1f39c
event-editor-dialog: Move summary to GcalSummarySection
2020-10-31 13:30:56 -03:00
Georges Basile Stavracas Neto
46aee00f65
event-editor-dialog: More schedule to GcalScheduleSection
2020-10-31 13:30:56 -03:00
Georges Basile Stavracas Neto
997f6bb671
event-editor-dialog: Move reminders to GcalRemindersSection
...
Move all widgetry, logic, and setup to GcalReminderSection.
2020-10-31 13:30:56 -03:00
Georges Basile Stavracas Neto
f9c466a1be
event-editor-dialog: Notify context when setting property
...
The 'context' property is set a explicit notify property, meaning we have
to manually notify it when setting it.
2020-10-31 13:30:56 -03:00
Georges Basile Stavracas Neto
b4029b0c23
edit-dialog: Rename to GcalEventEditorDialog
2020-10-31 13:30:56 -03:00