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.
This commit is contained in:
Georges Basile Stavracas Neto
2016-10-02 08:19:19 -03:00
parent 050bdd37d2
commit 7d3cd7f727
+2
View File
@@ -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");
}