[gnome-calendar] gcal-window: fixed initialization on DayView mode
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] gcal-window: fixed initialization on DayView mode
- Date: Thu, 4 Dec 2014 22:23:43 +0000 (UTC)
commit de0902028f8813a71c415ed9f7f5a4862e78ef4c
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Tue Jun 18 09:22:24 2013 -0400
gcal-window: fixed initialization on DayView mode
src/gcal-window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index a9bae9a..b83d92f 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -1217,6 +1217,10 @@ gcal_window_new_with_view (GcalApplication *app,
G_CALLBACK (gcal_window_event_created),
win);
+ /* init hack */
+ if (view_type == GCAL_WINDOW_VIEW_DAY)
+ gcal_window_view_changed (NULL, NULL, win);
+
return GTK_WIDGET (win);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]