[gnome-calendar] year-view: properly update active-date property
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] year-view: properly update active-date property
- Date: Wed, 28 Jan 2015 18:59:23 +0000 (UTC)
commit 0d74fcc87f56ba979a3447cede13958873500540
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Tue Jan 27 23:09:32 2015 -0500
year-view: properly update active-date property
src/gcal-year-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c
index 6c046b9..c352752 100644
--- a/src/gcal-year-view.c
+++ b/src/gcal-year-view.c
@@ -813,8 +813,8 @@ navigator_button_release_cb (GcalYearView *year_view,
priv->selected_data->end_month = month;
/* update date and notify */
- priv->date->day = priv->end_selected_date->day;
- priv->date->month = priv->end_selected_date->month + 1;
+ priv->date->day = day;
+ priv->date->month = month + 1;
g_object_notify (G_OBJECT (year_view), "active-date");
gtk_widget_queue_draw (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]