[gnome-calendar/ui-rewrite] views: queue a redraw when the current date changes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/ui-rewrite] views: queue a redraw when the current date changes
- Date: Fri, 21 Nov 2014 18:22:42 +0000 (UTC)
commit 72c02ff54e3dd2fb06827efb308271f5b8c38d13
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Nov 21 16:22:23 2014 -0200
views: queue a redraw when the current date changes
This partially fixes bug #739550. The warning message is still being emmited.
src/gcal-month-view.c | 1 +
src/gcal-week-view.c | 1 +
src/gcal-year-view.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c
index f9b4016..c1f45c7 100644
--- a/src/gcal-month-view.c
+++ b/src/gcal-month-view.c
@@ -263,6 +263,7 @@ gcal_month_view_set_property (GObject *object,
E_CAL_DATA_MODEL_SUBSCRIBER (object),
range_start,
range_end);
+ gtk_widget_queue_draw (GTK_WIDGET (object));
break;
}
case PROP_MANAGER:
diff --git a/src/gcal-week-view.c b/src/gcal-week-view.c
index 7a6245b..82a4de2 100644
--- a/src/gcal-week-view.c
+++ b/src/gcal-week-view.c
@@ -670,6 +670,7 @@ gcal_week_view_set_property (GObject *object,
E_CAL_DATA_MODEL_SUBSCRIBER (object),
range_start,
range_end);
+ gtk_widget_queue_draw (GTK_WIDGET (object));
break;
}
case PROP_MANAGER:
diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c
index f9e8c5a..4740d2c 100644
--- a/src/gcal-year-view.c
+++ b/src/gcal-year-view.c
@@ -255,6 +255,7 @@ gcal_year_view_set_property (GObject *object,
E_CAL_DATA_MODEL_SUBSCRIBER (object),
range_start,
range_end);
+ gtk_widget_queue_draw (GTK_WIDGET (object));
break;
}
case PROP_MANAGER:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]