Commit Graph
2999 Commits
Author SHA1 Message Date
Elias Entrup ac879dd8ec gcal-edit-dialog: Use event timezone if available
Changing the time of an event with a different
timezone was automatically changing the timezone
to the local one.
This patch checks whether a timezone is already
set and uses that.

Fixes #273
2018-06-15 14:58:10 +00:00
Yi-Jyun Pan 8e017ada21 Update Chinese (Taiwan) translation 2018-06-12 15:48:25 +00:00
Liivia Lilleväli 4f0bfd9b89 Update Estonian translation 2018-06-09 09:35:47 +00:00
Mohammed Sadiq 1b004fd1d9 window: Remove ununsed macro 2018-06-07 14:40:15 +00:00
nick richards 2a75fec1ad Add OARS tweak SPDX licences 2018-06-05 13:08:05 +01:00
Khaled Hosny e231126d37 Update Arabic translation 2018-06-03 15:37:26 +02:00
Georges Basile Stavracas Neto 6da7cf380d flatpak: Fix build 2018-06-01 16:57:29 -03:00
Gun Chleoc c8e1b7b2d6 Update Scottish Gaelic translation
(cherry picked from commit 82e8965b8065200309b2e4f35fc8e214a0f7d9a3)
2018-06-01 09:41:48 +00:00
Mingcong Bai ab8b57f72e Update Chinese (China) translation 2018-05-21 14:13:33 +00:00
Anders Jonsson 8b9e370be2 Update Swedish translation 2018-05-20 18:03:56 +00:00
Marcos Lans 5e0f58fb24 Update Galician translation 2018-05-15 22:36:26 +00:00
Marcos Lans 096ecb0006 Update Galician translation 2018-05-15 21:53:33 +00:00
Matej Urbančič 3555e4f96b Merge branch 'master' of gitlab.gnome.org:GNOME/gnome-calendar 2018-05-15 21:01:32 +02:00
Matej Urbančič 905c5c2316 Updated Slovenian translation 2018-05-09 17:59:48 +02:00
Daniel Mustieles 006dcf832e Updated Spanish translation 2018-05-08 15:05:12 +02:00
Fabio Tomat d464b1b575 Update Friulian translation 2018-05-06 14:47:38 +00:00
Georges Basile Stavracas Neto 34c7a16390 event: really fix multiday check
The time difference should've been greater than
zero since the beginning.
2018-05-05 23:06:14 -03:00
Georges Basile Stavracas Neto d66a76af88 event-widget: React to time changes
When an event is timed, and we move past its end
date and time, the event does not react to that
and continues with the opacity of a regular event.

Fix that by reacting to minute changes.
2018-05-04 21:49:30 -03:00
Georges Basile Stavracas Neto cfa8794313 manager: Move GcalClock to GcalApplication
GcalManager is basically an object that is shared
among classes that need to modify calendars, while
GcalClock is just a wall clock implementation.

Move it to GcalApplication, so that objects without
access to GcalManager can still access the clock.
2018-05-04 21:37:53 -03:00
Marek Černocký d00a4bc7b7 Updated Czech translation 2018-05-04 00:27:57 +02:00
Georges Basile Stavracas Neto d9417d207c project: add Epic.md 2018-05-02 18:52:51 -03:00
Harald H 11fdd100d8 Grammar. Fixes #249 2018-05-02 01:47:49 +00:00
Abdullahi Usman c7f522eadd event-widget : hide hour label on full day event
All events in month-popover displays hour-label indicating their start time,
but all-day events should not display their start time.

This is caused by gtk_widget_show_all recursively setting the events list-box
and all its childrens visible.

We replace gtk_widget_show_all with gtk_widget_show to show the events list-box
and its childrens.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/250
2018-05-01 23:48:25 +00:00
Georges Basile Stavracas Neto df7216f2f5 month-popover: don't be so small
This commit limits the month popover at least
250px wide. To make it actually usable.
2018-05-01 20:29:57 -03:00
Georges Basile Stavracas Neto 1da2151bb9 month-popover: popdown when adding new event 2018-05-01 20:29:36 -03:00
Georges Basile Stavracas Neto d272bbe3c8 week-view: use the correct inclusive end date
Event dates are, by definition, inclusive on their
start dates, but exclusives on their end dates. That
means that end dates don't actually contain the date
they represent.

Week grid code, however, was considering that end date
as inclusive, and the layout code was miscalculated
because of that.

Fix that by using an inclusive end date when calculating
the event span. Since Calendar does not support subsecond
precision, we do that by subtracting one second from the
exclusive end date.

Issue: #279
2018-05-01 18:50:27 -03:00
Georges Basile Stavracas Neto 93b22f2c43 month-view: reorganize code 2018-05-01 11:06:47 -03:00
Georges Basile Stavracas Neto 601076f6a4 event-widget: force squared color boxes
On HiDPI displays, the color boxes of timed events
appear distorted and not squared.

Fix that by setting a fixed size, and changing the
box alignment to always shrink to a squared state.
2018-05-01 10:24:48 -03:00
Georges Basile Stavracas Neto fd5e6daf13 event-widget: use correct end date on tooltip
The end date of all-day events should have one day decreased,
since the final day is not technically what the user expects
it to be.

Issue: #257
2018-04-30 22:19:13 -03:00
Georges Basile Stavracas Neto 4fb135f7dc theme: improve spacing in month view 2018-04-30 22:03:52 -03:00
Georges Basile Stavracas Neto b6df8cde7b manager: fix reference management
GcalManager:remove_event() is an asynchronous function
that, by the time the callback is executed, unreferences
the event that is being removed. This implies that, when
the function was called, a reference was taken -- we don't
want the event to be finalized during the operation, after
all.

The problem is that the reference was never taken.

Fix that by properly owning a reference to the event when
removing it, and dropping it when the removal is finished.

Issue: #268
2018-04-30 21:26:03 -03:00
Georges Basile Stavracas Neto bc0744cc0d tests: update multiday test
Until we have a better control over the system timezone,
let's not hit that issue.
2018-04-30 20:45:46 -03:00
Georges Basile Stavracas Neto 91fdf1783b event: improve documentation for gcal_event_is_multiday
Add some examples, so I can remember them in a few days from
now.
2018-04-30 20:45:01 -03:00
Georges Basile Stavracas Neto 65b00e5a23 flatpak: build documentation too 2018-04-30 20:44:39 -03:00
Georges Basile Stavracas Neto 5ff7afab88 build: rename gtk_doc to documentation 2018-04-30 20:35:24 -03:00
Georges Basile Stavracas Neto bedc98b192 event: fix multiday check
Checking if an event is multiday is currently broken
because g_date_time_difference() returns raw time spans,
and that value means "there is 24h of difference between
these dates", when what we're looking for is "how many
days are between these two dates".

To fix that, use the GDate API instead of GDateTime.
2018-04-30 19:31:01 -03:00
Andrea Azzarone 9d0b44d4e3 view: Auto disconnect weather-changed signal handler
Use g_signal_connect_object in order to auto disconnect the weather-changed
signal handler when the view object is finalized.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/271
2018-04-11 17:45:02 +02:00
Yuras Shumovich a83e119e34 Update Belarusian translation
(cherry picked from commit b938087799dbc794cd051893b5c68777154ef89e)
2018-04-05 12:41:24 +00:00
Mingcong Bai 8fff4bf0be Update zh_CN translation 2018-03-29 16:57:03 +08:00
Matej Urbančič 4420f6e2e3 Updated Slovenian translation 2018-03-27 18:04:41 +02:00
Matej Urbančič e0e2a2a980 Added Slovenian translation 2018-03-20 21:41:00 +01:00
Sveinn í Felli f43dd51551 Update Icelandic translation
(cherry picked from commit 49010c0c51ca701043c7dcefd265a846af456c48)
2018-03-19 07:43:25 +00:00
Jordi Mas dfba28077a Update Catalan translation 2018-03-18 17:35:03 +01:00
Stas Solovey 59fd97520b Update Russian translation
(cherry picked from commit 0a1f7aa9127e6ff652e82be7b8f376c43582912c)
2018-03-13 16:44:48 +00:00
Anders Jonsson c2b545dafb Update Swedish translation
(cherry picked from commit 8237bbfb24a798951a8708eb46c3970ef99719e2)
2018-03-11 20:25:25 +00:00
Guillaume Bernard 37fef8b8a1 Update French translation
(cherry picked from commit ea59390307ad1fb145ce0bb5b619fb8b537f524a)
2018-03-11 12:11:14 +00:00
Guillaume Bernard daa98e5081 Update French translation
(cherry picked from commit cf5cc7dfdfc2184209bdd2993f60fb49b1e0cefe)
2018-03-11 09:37:09 +00:00
Aefgh39622 11b4fa8dbe Update Japanese translation 2018-03-10 02:44:18 +00:00
Efstathios Iosifidis 5c00a04950 Update Greek translation 2018-03-08 11:27:12 +00:00
Giorgos Argyropoulos fe1447494c Update Greek translation 2018-03-08 11:14:50 +00:00