gcal-window: fixed initialization on DayView mode
This commit is contained in:
@@ -1217,6 +1217,10 @@ gcal_window_new_with_view (GcalApplication *app,
|
|||||||
G_CALLBACK (gcal_window_event_created),
|
G_CALLBACK (gcal_window_event_created),
|
||||||
win);
|
win);
|
||||||
|
|
||||||
|
/* init hack */
|
||||||
|
if (view_type == GCAL_WINDOW_VIEW_DAY)
|
||||||
|
gcal_window_view_changed (NULL, NULL, win);
|
||||||
|
|
||||||
return GTK_WIDGET (win);
|
return GTK_WIDGET (win);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user