From bdac4e4c79948c941da1f64e847f08fe48933bfb Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Fri, 22 Jul 2016 01:03:23 -0300 Subject: [PATCH] date-selector: turn into a entry After making the date selector use the brand new date chooser widget, it is now time to make it an entry. This commit, then turns GcalDateSelector into a GtkEntry subclass, and add all the plumbing that is necessary to make it work as such. As a side effect, this commit adds rudimentary natural language support for parsing dates. --- data/ui/date-selector.ui | 14 +++--- src/gcal-date-selector.c | 99 ++++++++++++++++++++++++++++++++++------ src/gcal-date-selector.h | 2 +- 3 files changed, 93 insertions(+), 22 deletions(-) diff --git a/data/ui/date-selector.ui b/data/ui/date-selector.ui index 3375c8a3..6707289c 100644 --- a/data/ui/date-selector.ui +++ b/data/ui/date-selector.ui @@ -1,14 +1,12 @@ -