aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-config.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@src.gnome.org>2003-08-08 22:58:02 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-08-08 22:58:02 +0800
commitfa0a110592ab3feda8051417d5dd198e96308367 (patch)
tree30611ac69b73e59a48b89acd0d40c154ef303ece /calendar/gui/calendar-config.c
parentdc84df9871b3171a21d62feec988160f3c608103 (diff)
downloadgsoc2013-evolution-fa0a110592ab3feda8051417d5dd198e96308367.tar.gz
gsoc2013-evolution-fa0a110592ab3feda8051417d5dd198e96308367.tar.zst
gsoc2013-evolution-fa0a110592ab3feda8051417d5dd198e96308367.zip
Merged ECalendarTable changes from new-calendar-branch
svn path=/trunk/; revision=22143
Diffstat (limited to 'calendar/gui/calendar-config.c')
-rw-r--r--calendar/gui/calendar-config.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c
index 84f334beff..2ac2a4062b 100644
--- a/calendar/gui/calendar-config.c
+++ b/calendar/gui/calendar-config.c
@@ -631,7 +631,7 @@ calendar_config_configure_e_cell_date_edit (ECellDateEdit *ecde)
void
calendar_config_configure_e_calendar_table (ECalendarTable *cal_table)
{
- CalendarModel *model;
+ ECalModel *model;
gboolean use_24_hour;
char *location;
icaltimezone *zone;
@@ -641,17 +641,13 @@ calendar_config_configure_e_calendar_table (ECalendarTable *cal_table)
use_24_hour = calendar_config_get_24_hour_format ();
model = e_calendar_table_get_model (cal_table);
- calendar_model_set_use_24_hour_format (model, use_24_hour);
+ e_cal_model_set_use_24_hour_format (model, use_24_hour);
location = calendar_config_get_timezone ();
zone = icaltimezone_get_builtin_timezone (location);
- calendar_model_set_timezone (model, zone);
+ e_cal_model_set_timezone (model, zone);
calendar_config_configure_e_cell_date_edit (cal_table->dates_cell);
-
- /* Reload the event/tasks, since the 'Hide Completed Tasks' option
- may have been changed, so the query needs to be updated. */
- calendar_model_refresh (model);
}