[gnome-calendar] month-view: queue redraw on scroll



commit 7d3cd7f72712a5d0674b374ec5cfa8967e1e3427
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sun Oct 2 08:17:12 2016 -0300

    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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c
index e9becaa..de0c288 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");
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]