Commit Graph
3016 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 474ce8b9da application: Integrate with Night Light
This is mostly a nice touch of integration for when
using the Night Light feature. It can be disabled by
switching the 'follow-night-light' dconf key to false,
but no user interface widgetry was added.
2018-07-29 00:54:02 -03:00
Georges Basile Stavracas Neto 7d99af9c36 window: Simplify window menu
We could have relied on the popover menu automatic
menu handling capabilities from the very beginning.
2018-07-29 00:54:02 -03:00
Georges Basile Stavracas Neto 89e80e688b appmenu: Remove "New Event" entry
The "New Event" menu item is confusing and misleading, since
it is contextless item that has a context-aware action. The
result varies depending on which view you are, but this is in
no way communicated.

So just remove that, and all the GcalWindow API that is not
used anymore altogether.
2018-07-29 00:54:02 -03:00
Hannie Dumoleyn 862017ab96 Update Dutch translation 2018-07-28 10:53:34 +00:00
Georges Basile Stavracas Neto 7e9ef5e055 date-chooser: Ensure selected day is contained in new month
When navigating through the dates of GcalDateChooser, if we
select a day (e.g. 31) that is not contained inside the next
or previous month, Calendar crashes.

Fix that by ensuring that the selected day is always contained
in the new month.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/284
2018-07-24 19:40:38 -03:00
Georges Basile Stavracas Neto 8fd74a7859 project: Reorganize files
Add a build-aux/ folder and move the Flatpak and
Meson auxiliary files there.
2018-07-24 19:22:38 -03:00
Georges Basile Stavracas Neto 82cf8d970a project: Update .gitignore
We don't need to ignore all this Autotools trash
anymore.
2018-07-24 19:11:34 -03:00
Georges Basile Stavracas Neto 56f789cdd9 project: fix README link
Calendar has a dedicate page in the GNOME Wiki nowadays,
point to it.
2018-07-24 19:07:27 -03:00
Georges Basile Stavracas Neto 98ec549967 contrib: Bring ECalDataModel changes
This particular changeset is important because it fixes that
annoying issue of the event staying when edited out of the
range (out of the month in Month view, week in Week view,
etc).

Commit: https://gitlab.gnome.org/GNOME/evolution/commit/3cea6c53337382330c443f50f858424ead2005b6
2018-07-24 19:02:07 -03:00
Daniel Șerbănescu a3c1549374 Update Romanian translation 2018-07-20 20:19:11 +00:00
Jordan Petridis 5e4a24e2d9 Flatpak Manifest: Add a workaround for a goa issue.
Ideally this commit will be reveted Soon™.

https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues/10
2018-07-17 18:42:25 +03:00
Jordan Petridis 080e792f21 CI: Add flatpak build/test job.
Part of https://gitlab.gnome.org/GNOME/Initiatives/issues/1 and #285
2018-07-17 18:42:12 +03:00
Jordi Mas aa60539bf1 Update Catalan translation 2018-06-30 20:19:44 +02:00
Fabio Tomat 524bc4d231 Update Friulian translation 2018-06-23 07:05:29 +00:00
Daniel Mustieles 7650ec471c Updated Spanish translation 2018-06-21 09:31:25 +02:00
Efstathios Iosifidis 2b0a9fa763 Update Greek translation 2018-06-18 22:27:12 +00:00
Marek Cernocky f1d3168dc7 Updated Czech translation 2018-06-18 13:30:51 +02:00
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