Commit Graph
1855 Commits
Author SHA1 Message Date
Zelda Ahmed 55d9cc68bc views/agenda: Use ListView item factory for creating event widgets
Instead of having the `GtkListView` create a row for each day containing
their own internal `GtkListBox` to store the event widgets, move the
creation of event widgets to the `GtkListView`'s item factory.

The motivation for this change is having internal listbox's inside a
`GtkListView` is problematic for keyboard navigation, because the user
can either:

- The event widgets in the internal listbox's can not be activated by
  pressing Space/Enter on a focused event widget if the listbox row's are set to be focusable.
- If the internal listbox's rows are set to be unfocusable, the user is
  not able to navigate the event widgets using the arrow keys, Page
  Up/Down or Home/End.

To use `GtkListView:factory` to generate the event widgets, we first
wrap the filtered day model inside the list view around a
`GtkFlattenListModel` to concatenate all the containing
`GcalAgendaViewItem` (which contain a given event and the date it occurs
on) in the day models together. This gives us a model of all events that
can be turned into event widgets, and a model of day sections to create
headers for each day in the next commit.

This approach was taken because we do not get the activated row widget,
unlike with the previously used `GtkListBox` where the row widget is
passed as an argument in `::row-activated`, and there is no feasible
other way to obtain the correct event widget from a `GtkListView`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/809>
2026-09-26 13:02:27 +01:00
Martin a6ede83217 Update Slovenian translation 2026-09-26 10:56:13 +00:00
Niklas Wimmer 736b724d24 calendar-management: Remove new-calendar page
This page will be replaced by the two pages created in the previous
commits, new-local-calendar and new-online-calendar.

To keep the project compiling the button to add a new calendar now
temporarily points at new-local-calendar. The button will be replaced
by a menu exposing both new pages in one of the following commits.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/850>
2026-09-26 00:04:12 +00:00
Niklas Wimmer 06910d9a89 calendar-management: Add new-online-calendar page
This is a copy of the existing new-calendar page, but with a
different class name.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/850>
2026-09-26 00:04:12 +00:00
Niklas Wimmer 4a5211b7a8 calendar-management: Add new-local-calendar page
This is a copy of the existing new-calendar page, but with a
different class name.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/850>
2026-09-26 00:04:12 +00:00
Marcel Mrówka 68b93fb507 Update Polish translation
Co-authored-by: Marcel Mrówka <micro.mail88@gmail.com>
Reviewed-by: Victoria Niedzielska <victorian@gnome.org>
2026-09-25 18:07:54 +00:00
Hugo Carvalho fca8c93001 Update Portuguese translation
(cherry picked from commit 05beaf1715ce194a685ebaed1bb4d1423948c8b4)
2026-09-25 10:12:14 +00:00
Roy-Magne Mo 7ded29fe39 Update Norwegian Nynorsk translation
(cherry picked from commit 57e14600b0e9d56808810a85ca4269e21d32a11c)
2026-09-19 19:43:16 +00:00
Roy-Magne Mo df23a422cc Update Norwegian Nynorsk translation
(cherry picked from commit 495344b13dbd6ce0a40a204de0c44f7b66c7eb10)
2026-09-19 11:10:13 +00:00
Alen b4f4d6b588 Update Bosnian translation 2026-09-18 18:24:53 +00:00
Quentin PAGÈS 666846d9c0 Update Occitan translation 2026-09-17 15:41:25 +00:00
Martin 375512b0ad Update Slovenian translation 2026-09-16 05:23:48 +00:00
mindonwarp 97f5e3c0c1 po: Add missing source files to POTFILES.in
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/833>
2026-09-15 18:46:00 +02:00
Alen 94ecf902e4 Update Bosnian translation 2026-09-15 16:24:15 +00:00
Alen 45903c2125 Update Bosnian translation 2026-09-14 19:52:27 +00:00
Alen 9cf3a57447 Update Bosnian translation 2026-09-14 18:41:38 +00:00
Roy-Magne Mo d1b7d4aa7b Update Norwegian Nynorsk translation 2026-09-09 12:38:53 +00:00
Xavi IvarsandVictor Dargallo 594e1967e4 Update Catalan translation
Co-authored-by: Victor Dargallo <victordargallo@disroot.org>
Co-authored-by: Xavi Ivars <xavi.ivars@gmail.com>
2026-09-08 22:02:31 +00:00
Bruce Cowan 5d5fc4128a Update British English translation 2026-09-08 18:26:26 +00:00
Antonio Marin 90f1e95220 Update Romanian translation 2026-09-08 13:13:53 +00:00
Alan Mortensen b10d58d63a Update Danish translation 2026-09-07 17:16:38 +00:00
Vasil Pupkin 69c85450d2 Update Belarusian translation 2026-09-07 12:44:16 +00:00
Juliano de Souza Camargoandyuriotavio fc94caf4d9 Update Brazilian Portuguese translation
Co-authored-by: yuriotavio <yuriotavio@hotmail.com>
2026-09-07 10:39:37 +00:00
Balázs Úr 9d4ed095a4 Update Hungarian translation 2026-09-07 09:04:49 +00:00
Alexander Alexandrov Shopov 978546c2f8 Update Bulgarian translation 2026-09-05 20:47:43 +00:00
Martin 4944b9127d Update Slovenian translation 2026-09-05 10:49:12 +00:00
Zelda Ahmed 30f1849dcd Update POTFILES with gcal-notes-section.blp
`gcal-notes-section.blp` now contains a string that needs translating but I
forgot to add the file to POTFILES in the original MR at
https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/714

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/826>
2026-09-05 10:07:16 +00:00
Alen be7ee6d4c6 Update Bosnian translation 2026-09-05 08:36:14 +00:00
Jor Teron 806e6feaa0 Update Karbi translation 2026-09-04 17:21:31 +00:00
Christian Kirbach 704e3cbca0 Update German translation 2026-09-03 18:26:10 +00:00
Daniel Mustieles 065ae8a21a Updated Spanish translation 2026-09-03 16:59:38 +02:00
Balázs Úr ba5229d998 Update Hungarian translation 2026-09-01 18:53:01 +00:00
Arlewatyerre Tuhoro-Bell b6678b9b82 Update Maori translation 2026-08-31 21:45:22 +00:00
acey dot 841cbbd32f Update Serbian translation 2026-08-31 15:29:43 +00:00
Arlewatyerre Tuhoro-Bell 2dd110b9b4 Add Maori translation 2026-08-31 13:09:25 +00:00
Марко Костић b1d9e28920 Update Serbian translation
(cherry picked from commit 118fe0c1ecd61268a7c60bcef1a5f458272e1922)
2026-08-30 09:34:42 +00:00
Марко Костић 3ab6ecf416 Update Serbian translation
(cherry picked from commit 5c66ae1d380d8a8664612704cc29d16052e806f8)
2026-08-30 09:32:57 +00:00
Emin Tufan Çetin f728bef39b Update Turkish translation 2026-08-28 15:57:19 +00:00
Seong-ho Cho 224432073f Update Korean translation 2026-08-27 23:00:38 +00:00
Hugo Carvalho 2f8d74e75f Update Portuguese translation
(cherry picked from commit 3bd87050462fb78b098ef866849d90cf0525436c)
2026-08-25 17:53:29 +00:00
Bjørn Mørkedal 8868b7c52d Add Norwegian Nynorsk translation 2026-08-24 19:37:12 +00:00
Anders Jonsson 9bf9881fef Update Swedish translation 2026-08-23 22:29:44 +00:00
Aurimas Aurimas Černius 8023d3e85e Update Lithuanian translation 2026-08-22 13:15:08 +00:00
Lucien 0b00202cad Update French translation
Co-authored-by: Lucien <luiz01luciano04@gmail.com>
Contributed-by: Guillaume Bernard <associations@guillaume-bernard.fr>
Reviewed-by: Jean-Marc TISSIERES <jmetissieres@gmail.com>
2026-08-21 20:24:30 +00:00
Jiri Grönroos fab4614a6a Update Finnish translation 2026-08-17 16:32:06 +00:00
Alexander Alexandrov Shopov 74d6f71429 Update Bulgarian translation 2026-08-16 11:24:08 +00:00
Abduqadir Abliz aae55c3ce8 Update Uighur translation 2026-08-12 20:06:45 +00:00
Aurimas Černius 9460912784 Update Lithuanian translation
(cherry picked from commit c85109a7f59a81b8ed2fdb6e25504acbe1a386e5)
2026-08-10 19:02:21 +00:00
Francisco Diéguez Souto a696fa7add Update Galician translation 2026-08-10 07:21:50 +00:00
Nathan Follens 4df248c8ee Update Dutch translation 2026-08-09 14:31:40 +00:00