year-view: properly update active-date property
This commit is contained in:
@@ -813,8 +813,8 @@ navigator_button_release_cb (GcalYearView *year_view,
|
|||||||
priv->selected_data->end_month = month;
|
priv->selected_data->end_month = month;
|
||||||
|
|
||||||
/* update date and notify */
|
/* update date and notify */
|
||||||
priv->date->day = priv->end_selected_date->day;
|
priv->date->day = day;
|
||||||
priv->date->month = priv->end_selected_date->month + 1;
|
priv->date->month = month + 1;
|
||||||
g_object_notify (G_OBJECT (year_view), "active-date");
|
g_object_notify (G_OBJECT (year_view), "active-date");
|
||||||
|
|
||||||
gtk_widget_queue_draw (widget);
|
gtk_widget_queue_draw (widget);
|
||||||
|
|||||||
Reference in New Issue
Block a user