Commit Graph
7 Commits
Author SHA1 Message Date
Florian Latifi 6e5372189d edit-dialog: Don't convert date to timezone if all-day
When the all-day checkbox is ticked, transforming to the
UTC timezone may change the dates of the event. On positive
timezone offsets, this happens frequently.

Fix that by only transforming to a timezone when the event
is not marked as all-day.

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/issues/338
2019-05-10 11:49:14 -03:00
Georges Basile Stavracas Neto 79eea9376b window: Add new event button
As per the latest mockups [1]

[1] https://teams.pages.gitlab.gnome.org/Design/web-experiments/calendar/headerbar
2019-05-09 17:42:59 -03:00
Georges Basile Stavracas Neto 771c5c30f0 window: Reorganize a few functions 2019-05-09 17:42:59 -03:00
Georges Basile Stavracas Neto 0baeaa160a window: Delegate changing dates to GcalView
The view knows its time range, and knows what the
next or previous dates should be. So instead of
calculating the next date manually, ask the views
for that.
2019-05-09 17:42:59 -03:00
Georges Basile Stavracas Neto da31180cba view: Let views handle subscription range
Instead of GcalWindow handling the ranges themselves,
delegate this responsibility to the views.
2019-05-09 17:42:58 -03:00
Georges Basile Stavracas Neto a2609d6853 project: Reorganize much 2019-05-04 19:48:40 -03:00
Georges Basile Stavracas Neto f55b4531ef project: Move ui-related classes to gui/ 2019-05-04 12:14:05 -03:00