Commit Graph
8 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto bdac4e4c79 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.
2016-07-23 17:47:11 -03:00
Georges Basile Stavracas Neto afe8def60c date-selector: use GDateTime internally
Using a GDateTime improves consistency with the
other components (ideally, we'll move completely
to GDateTime) and simplifies the code.

This commit adds a new property GcalDateSelector::date
and adapts the API to use GDateTime.
2016-02-14 12:17:37 -02:00
Georges Basile Stavracas Neto 5fe6578b16 date-selector: turn into a final class
There is no subclass of GcalDateSelector, and
actually it isn't needed. So, turn the class
into a final class and get rid of the needless
private field.
2016-01-19 18:54:29 -02:00
Erick Pérez Castellanos 0b2367200b copyright: update year 2015-01-20 13:11:58 -05:00
Erick Pérez Castellanos 5395dca4f2 date-selector: make it GtkMenuButton descendant
Added GtkBuilder's UI file definition
2014-12-25 13:03:15 -05:00
Georges Basile Stavracas Neto 5cec73ab43 date-selector: completely drop the format_24h flag
Dates do not depend on the time format, so it shouldn't be cached here.
2014-12-23 12:01:41 -05:00
Georges Basile Stavracas Neto 9b5670a416 date-selector: add gcal_date_selector_use_24h_format function
Will be used later on in order to avoid retrieving this value multiple times with GSettings.
2014-12-23 12:01:41 -05:00
Georges Basile Stavracas Neto 40683e5e10 date-selector: initial implementetation
No functionality is ready, only project settings and class type.
2014-12-23 12:01:38 -05:00