Commit Graph
4563 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto bed4c9b62c Post-branching version bump 2023-10-23 10:15:46 -03:00
Georges Basile Stavracas Neto e91eccffde Post-release version bump 2023-10-23 10:15:14 -03:00
Georges Basile Stavracas Neto a40ddb658c 45.1 2023-10-23 10:12:32 -03:00
Georges Basile Stavracas Neto ab714d6f39 gui/event-popover: Show at the top
Seems slightly less worse than showing at the sides of the event.

Related: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1006
2023-10-18 15:51:32 -03:00
Georges Basile Stavracas Neto 4fb2cd87b0 event-popover: Rework spacings
This allows the scrolled window to have infinite borders
2023-10-18 15:47:46 -03:00
Sabri Ünal d454f2be4d readme: Update donation URL
Update the donation URL.
2023-10-16 13:43:19 +00:00
Sabri Ünal 9a8ae84252 Update Turkish translation 2023-10-14 06:56:45 +00:00
Sabri Ünal 56486696f9 appdata: add translate URL support
This URL is visible on Flathub and GNOME Control Center.

More information: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-url
2023-10-12 12:08:47 +03:00
Florentina Mușat dffcac3459 Update Romanian translation 2023-10-09 15:45:19 +00:00
Georges Basile Stavracas Neto ddaf0e17a4 views/month: Create timed ranges
This allows proper range comparisons.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1106
2023-09-28 13:21:30 -03:00
Georges Basile Stavracas Neto 3ff57f71e4 views/month: Dispose overflow popover 2023-09-28 11:52:40 -03:00
Georges Basile Stavracas Neto e9ab7effad calendar-management/edit: Remove unnecessary binding
This is handled by the C code now.
2023-09-28 11:52:11 -03:00
Georges Basile Stavracas Neto 80a258c705 core/timeline: Use g_clear_handle_id
Saves us a few lines of code.
2023-09-28 11:33:30 -03:00
Georges Basile Stavracas Neto 96625ec595 core/calendar-monitor: Protect against NULL range 2023-09-28 11:33:02 -03:00
Georges Basile Stavracas Neto 27ee81b072 views/month: Only diff when current range exists
Right after bring created, the current date - and consequently
the range - is NULL. We shouldn't diff in this case.
2023-09-28 11:25:27 -03:00
Georges Basile Stavracas Neto 9a665a94c7 application: Add message when running as a service 2023-09-28 11:19:23 -03:00
Guillaume Bernard 231cfbc777 Update French translation 2023-09-26 06:45:15 +00:00
Rafael Fontenelle 4ae914555d Update Brazilian Portuguese translation 2023-09-25 16:17:52 +00:00
Kristjan SCHMIDT abc4b55dc1 Update Esperanto translation 2023-09-23 23:47:26 +00:00
Georges Basile Stavracas Neto 750c62d4f2 core/context: Use Settings portal for 24h setting
Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1105
2023-09-23 02:54:09 -03:00
Georges Basile Stavracas Neto b26f33ea10 utils: Remove 24h utility function
The last user of this function is gone now.
2023-09-23 02:39:39 -03:00
Georges Basile Stavracas Neto 38108ffa7a event-widget: Fetch 24h setting from context
Instead of using the auxiliary function.
2023-09-23 02:39:07 -03:00
Georges Basile Stavracas Neto c8543aa822 views/week/header: Use en dash
Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1107
2023-09-22 11:47:47 -03:00
Georges Basile Stavracas Neto a7f798a815 views/month: Use en dash
Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1107
2023-09-22 11:45:47 -03:00
Rūdolfs Mazurs b0fb477b08 Update Latvian translation 2023-09-18 13:40:19 +00:00
Fabio Tomat 649a846dc9 Update Friulian translation 2023-09-18 12:09:58 +00:00
Georges Basile Stavracas Neto a25cd4fec7 Post-release version bump 2023-09-18 09:07:26 -03:00
Georges Basile Stavracas Neto 619d95c336 45.0 2023-09-18 09:04:06 -03:00
Georges Basile Stavracas Neto 77c908b394 event-widget: Properly unparent preview popover
GcalEventWidget currently doesn't track the preview popover, and
that can easily crash Calendar upon destruction.

Track that, and unparent on dispose.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/986
2023-09-14 12:09:11 -03:00
Georges Basile Stavracas Neto 8d79fe2ffd views/month: Demote assertion to regular check
We can have a NULL selection start, when starting the drag on the
header section.
2023-09-13 18:34:22 -03:00
Georges Basile Stavracas Neto 439b46af89 core/calendar-monitor: Remove g_autoptr from a variable
g_hash_table_lookup() is not transfer-full, so this g_autoptr + the
g_hash_table_remove() call end up double-unreffing the event, which
causes a crash.

Remove g_autoptr from the variable.
2023-09-13 17:51:34 -03:00
Georges Basile Stavracas Neto dd61f8ef6f views/month/row: Adjust for exclusive end date
Subtract a second from the end date so we can properly compare dates.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1098
2023-09-13 14:25:45 -03:00
Georges Basile Stavracas Neto 07c5b6280a core/calendar-monitor: Transfer event ownership properly
g_steal_pointer() is not enough, since the event is not declared
with g_autoptr.

Use g_object_ref().

Fixes: f7ee9279ad
Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1097
2023-09-13 14:18:36 -03:00
Georges Basile Stavracas Neto a1810433ed core/timeline: Don't excise events from queue
When removing the last subscriber (something that can happen when
closing the main window), GcalTimeline clears the event queue. But
that leaves us in an inconsistent state, as we don't process any of
the potentially removed events.

Don't do that.

Related: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1087
2023-09-13 09:17:12 -03:00
Georges Basile Stavracas Neto f1767037ac views/month: Clear selection after showing overflow
This should prevent selection after clicking any overflow button.
2023-09-13 09:17:12 -03:00
Matej Urbančič 94ba080d38 Update Slovenian translation 2023-09-11 13:52:03 +00:00
Jordi Mas 1ef77cee46 Update Catalan translation 2023-09-11 09:06:07 +02:00
Georges Basile Stavracas Neto ad34aa40fc views/month: Add header above week rows
Otherwise GTK4 will pick the rows, even when they're clipped.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1095
2023-09-09 20:14:39 -03:00
Seong-ho Cho c265edeb05 Update Korean translation 2023-09-08 08:17:15 +00:00
Anders Jonsson 918163bb02 Update Swedish translation 2023-09-05 21:59:29 +00:00
Balázs Úr fe02e6dfd6 Update Hungarian translation 2023-09-05 17:14:37 +00:00
Sam Hewitt b7e04c561e style: Fix papercuts in the calendar cell style 2023-09-05 13:07:25 -02:30
Fran Dieguez e2373130fa Update Galician translation 2023-09-03 19:34:04 +00:00
Georges Basile Stavracas Neto 9ace504ec4 Post-release version bump 2023-09-02 10:35:15 -03:00
Georges Basile Stavracas Neto 42df20b904 45.rc 2023-09-02 10:33:32 -03:00
Georges Basile Stavracas Neto 5503e5ca50 views/month: Handle reduced animations setting
Move rows slightly faster in that case.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1080
2023-09-02 10:28:39 -03:00
Georges Basile Stavracas Neto 20ad7f3676 views/month: Reset offset when animation is done 2023-09-02 10:26:41 -03:00
Georges Basile Stavracas Neto b0813fb605 month-view-row: Clamp last cell to [first cell, 6]
This is not ideal but it's what we've got for now.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1083
2023-09-02 10:26:41 -03:00
Alan Mortensen 7ae5765788 Update Danish translation 2023-09-01 18:19:00 +00:00
Daniel Rusek 6769b7a719 Update Czech translation 2023-09-01 09:00:33 +00:00