new-calendar-page: add callback for new calendar color chooser

The color chosen in the new calendar page is currently ignored
when creating a new calendar, as described in #681.

Added a callback similar to that used for the name text entry,
allowing new calendars to be created with the chosen color.

Closes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/681
This commit is contained in:
Eric Daigle
2021-02-14 16:01:11 +00:00
committed by Georges Basile Stavracas Neto
parent 1f08a10db8
commit a93ae8778a
2 changed files with 10 additions and 0 deletions
@@ -70,6 +70,7 @@
<child>
<object class="GtkColorButton" id="local_calendar_color_button">
<property name="visible">True</property>
<signal name="notify::color" handler="on_local_calendar_color_button_color_changed_cb" object="GcalNewCalendarPage" swapped="no" />
</object>
</child>