clock: introduce GcalClock

GcalClock is an internal clock for GNOME Calendar that
sends a few utility signals, such as :day-changed and
:minute-changed.

It also watches for suspend/resume events to properly
send the signal right after the resume.
This commit is contained in:
Georges Basile Stavracas Neto
2017-05-16 14:57:11 -03:00
parent be731fcae7
commit e7a05bdc4c
3 changed files with 322 additions and 1 deletions
+3 -1
View File
@@ -42,8 +42,10 @@ gnome_calendar_SOURCES = \
views/gcal-week-view.h \
views/gcal-year-view.c \
views/gcal-year-view.h \
gcal-application.h \
gcal-application.c \
gcal-application.h \
gcal-clock.c \
gcal-clock.h \
gcal-date-chooser-day.c \
gcal-date-chooser-day.h \
gcal-date-chooser.c \