From 7d3cd7f72712a5d0674b374ec5cfa8967e1e3427 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sun, 2 Oct 2016 08:17:12 -0300 Subject: [PATCH] month-view: queue redraw on scroll If we scroll to a month that has no event widget to display, the redraw is not dispatched and looks like Calendar is broken. Fix that by always queuing a redraw. --- src/gcal-month-view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c index e9becaaf..de0c288e 100644 --- a/src/gcal-month-view.c +++ b/src/gcal-month-view.c @@ -970,6 +970,8 @@ gcal_month_view_scroll_event (GtkWidget *widget, *self->date = icaltime_normalize (*self->date); self->scroll_value = 0; + gtk_widget_queue_draw (widget); + g_object_notify (G_OBJECT (widget), "active-date"); }