diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2004-06-10 22:40:11 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-06-10 22:40:11 +0800 |
commit | 1b3d81c4fa0703f737b2956623886ec7f94cb9cd (patch) | |
tree | 80c8cb0a4853093f53c2ad45fc13f2a2336a6a35 | |
parent | 6098f7ab7d9c436311b4ee19f54bf09bdb0821c9 (diff) | |
download | gsoc2013-evolution-1b3d81c4fa0703f737b2956623886ec7f94cb9cd.tar.gz gsoc2013-evolution-1b3d81c4fa0703f737b2956623886ec7f94cb9cd.tar.zst gsoc2013-evolution-1b3d81c4fa0703f737b2956623886ec7f94cb9cd.zip |
Fixes #58748
2004-06-10 Rodrigo Moya <rodrigo@novell.com>
Fixes #58748
* gui/gnome-cal.c (setup_widgets): set the timezone on all views
when creating them.
svn path=/trunk/; revision=26283
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/gnome-cal.c | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index c8e5e08806..c7d7bf00fe 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,12 @@ 2004-06-10 Rodrigo Moya <rodrigo@novell.com> + Fixes #58748 + + * gui/gnome-cal.c (setup_widgets): set the timezone on all views + when creating them. + +2004-06-10 Rodrigo Moya <rodrigo@novell.com> + * gui/e-calendar-table.c (e_calendar_table_init): don't set the "bg_color_column" property on the ECellToggle class. diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index bf9e8ad362..1c76f1dbc0 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1201,6 +1201,7 @@ setup_widgets (GnomeCalendar *gcal) /* The Day View. */ priv->day_view = e_day_view_new (); e_calendar_view_set_calendar (E_CALENDAR_VIEW (priv->day_view), gcal); + e_calendar_view_set_timezone (E_CALENDAR_VIEW (priv->day_view), priv->zone); g_signal_connect (priv->day_view, "selection_changed", G_CALLBACK (view_selection_changed_cb), gcal); connect_day_view_focus (gcal, E_DAY_VIEW (priv->day_view)); @@ -1211,12 +1212,14 @@ setup_widgets (GnomeCalendar *gcal) TRUE); e_day_view_set_days_shown (E_DAY_VIEW (priv->work_week_view), 5); e_calendar_view_set_calendar (E_CALENDAR_VIEW (priv->work_week_view), gcal); + e_calendar_view_set_timezone (E_CALENDAR_VIEW (priv->work_week_view), priv->zone); connect_day_view_focus (gcal, E_DAY_VIEW (priv->work_week_view)); /* The Week View. */ priv->week_view = e_week_view_new (); e_calendar_view_set_calendar (E_CALENDAR_VIEW (priv->week_view), gcal); + e_calendar_view_set_timezone (E_CALENDAR_VIEW (priv->week_view), priv->zone); g_signal_connect (priv->week_view, "selection_changed", G_CALLBACK (view_selection_changed_cb), gcal); @@ -1230,6 +1233,7 @@ setup_widgets (GnomeCalendar *gcal) /* The Month View. */ priv->month_view = e_week_view_new (); e_calendar_view_set_calendar (E_CALENDAR_VIEW (priv->month_view), gcal); + e_calendar_view_set_timezone (E_CALENDAR_VIEW (priv->month_view), priv->zone); e_week_view_set_multi_week_view (E_WEEK_VIEW (priv->month_view), TRUE); e_week_view_set_weeks_shown (E_WEEK_VIEW (priv->month_view), 5); g_signal_connect (priv->month_view, "selection_changed", @@ -1246,6 +1250,7 @@ setup_widgets (GnomeCalendar *gcal) priv->list_view = e_cal_list_view_new (); e_calendar_view_set_calendar (E_CALENDAR_VIEW (priv->list_view), gcal); + e_calendar_view_set_timezone (E_CALENDAR_VIEW (priv->list_view), priv->zone); connect_list_view_focus (gcal, E_CAL_LIST_VIEW (priv->list_view)); |