From 69bb907af94015a3a5e64ee7ee1e151afc00faed Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 5 Aug 2004 13:28:03 +0000 Subject: clean up all the default clients (default_client_cal_opened_cb): change 2004-08-03 JP Rosevear * gui/gnome-cal.c (gnome_calendar_destroy): clean up all the default clients (default_client_cal_opened_cb): change the if statement to a switch to be consistent with the other code bits and set the default client for the source type (gnome_calendar_add_source): look at the default based on the source type (gnome_calendar_set_default_source): set the default for the source type (gnome_calendar_new_task): bail out if we have no ecal * gui/gnome-cal.c (set_timezone): set the timezone for all the default clients * gui/calendar-component.c (update_primary_task_selection): look in the task source list, not the plain source list svn path=/trunk/; revision=26828 --- calendar/gui/calendar-component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/calendar-component.c') diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 083642dff2..24b8b61c40 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -297,7 +297,7 @@ update_primary_task_selection (CalendarComponentView *component_view) uid = calendar_config_get_primary_tasks (); if (uid) { - source = e_source_list_peek_source_by_uid (component_view->source_list, uid); + source = e_source_list_peek_source_by_uid (component_view->task_source_list, uid); g_free (uid); } -- cgit v1.2.3