[gnome-calendar] views: queue a redraw when the current date changes
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] views: queue a redraw when the current date changes
- Date: Thu, 4 Dec 2014 22:43:40 +0000 (UTC)
commit d25a6e4cbfb706fd5490eae4910b40353ec3caf9
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]