From a43df17b08e24a295180baa7cdd5152b6650653a Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 21 Jun 2016 11:54:07 -0300 Subject: [PATCH] week-header: turn into a GtkGrid If the header is a GtkScrolledWindow, all the content (including the top labels and week names) are scrolled. This is a wrong behavior, since only the events should be scrollable. Fix that by making GcalWeekHeader a GtkGrid, and adding the scrolled window in the correct position. --- data/ui/week-header.ui | 38 ++++++++++++++++++++---------------- src/views/gcal-week-header.c | 11 +++++++---- src/views/gcal-week-header.h | 2 +- 3 files changed, 29 insertions(+), 22 deletions(-) diff --git a/data/ui/week-header.ui b/data/ui/week-header.ui index 02ac769c..4b430adf 100644 --- a/data/ui/week-header.ui +++ b/data/ui/week-header.ui @@ -1,9 +1,8 @@ -