aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-08-05 21:28:03 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-08-05 21:28:03 +0800
commit69bb907af94015a3a5e64ee7ee1e151afc00faed (patch)
treefac4f911c2ab48d45d8b14e958bb3a8ce53b6346 /calendar/gui/calendar-component.c
parent228f16385632b4f0ab790249d384414125706e36 (diff)
downloadgsoc2013-evolution-69bb907af94015a3a5e64ee7ee1e151afc00faed.tar
gsoc2013-evolution-69bb907af94015a3a5e64ee7ee1e151afc00faed.tar.gz
gsoc2013-evolution-69bb907af94015a3a5e64ee7ee1e151afc00faed.tar.bz2
gsoc2013-evolution-69bb907af94015a3a5e64ee7ee1e151afc00faed.tar.lz
gsoc2013-evolution-69bb907af94015a3a5e64ee7ee1e151afc00faed.tar.xz
gsoc2013-evolution-69bb907af94015a3a5e64ee7ee1e151afc00faed.tar.zst
gsoc2013-evolution-69bb907af94015a3a5e64ee7ee1e151afc00faed.zip
clean up all the default clients (default_client_cal_opened_cb): change
2004-08-03 JP Rosevear <jpr@novell.com> * 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
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c2
1 files changed, 1 insertions, 1 deletions
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);
}