views/month: Reduce to 3 pages

Now that the timeline handles augmentation, the Month view doesn't need
to fetch so much data at once. Reduce to 3 pages of month rows.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/757>
This commit is contained in:
Georges Basile Stavracas Neto
2026-05-03 14:56:07 -03:00
parent d47358f294
commit 95bc0a8fb2
+1 -1
View File
@@ -36,7 +36,7 @@
#include <adwaita.h>
#define N_ROWS_PER_PAGE 5
#define N_PAGES 5
#define N_PAGES 3
#define N_TOTAL_ROWS (N_ROWS_PER_PAGE * N_PAGES)
#define FIRST_VISIBLE_ROW_INDEX (N_ROWS_PER_PAGE * (N_PAGES - 1) / 2)
#define LAST_VISIBLE_ROW_INDEX (FIRST_VISIBLE_ROW_INDEX + N_ROWS_PER_PAGE - 1)