diff options
author | Praveen Kumar <kpraveen@novell.com> | 2005-07-01 17:49:32 +0800 |
---|---|---|
committer | Praveen Kumar <kpraveen@src.gnome.org> | 2005-07-01 17:49:32 +0800 |
commit | bffdf85285b26fca4783e5f9208a7e3b6d943674 (patch) | |
tree | fdbf6050fb63fd0036986517c1f2feefddb2b7ee /calendar | |
parent | 9f1c75a4201337897742582a9d771a15946816db (diff) | |
download | gsoc2013-evolution-bffdf85285b26fca4783e5f9208a7e3b6d943674.tar gsoc2013-evolution-bffdf85285b26fca4783e5f9208a7e3b6d943674.tar.gz gsoc2013-evolution-bffdf85285b26fca4783e5f9208a7e3b6d943674.tar.bz2 gsoc2013-evolution-bffdf85285b26fca4783e5f9208a7e3b6d943674.tar.lz gsoc2013-evolution-bffdf85285b26fca4783e5f9208a7e3b6d943674.tar.xz gsoc2013-evolution-bffdf85285b26fca4783e5f9208a7e3b6d943674.tar.zst gsoc2013-evolution-bffdf85285b26fca4783e5f9208a7e3b6d943674.zip |
Added the source type field in _ECalConfigTargetSource Set the source type
2005-07-01 Praveen Kumar <kpraveen@novell.com>
* gui/e-cal-config.h : Added the source type field in
_ECalConfigTargetSource
* gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar) : Set
the source type as calendar
(calendar_setup_edit_task_list) : Set the source type as tasks.
svn path=/trunk/; revision=29609
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 8 | ||||
-rw-r--r-- | calendar/gui/dialogs/calendar-setup.c | 2 | ||||
-rw-r--r-- | calendar/gui/e-cal-config.h | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 2ebbbcbe89..71b80ab14d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2005-07-01 Praveen Kumar <kpraveen@novell.com> + + * gui/e-cal-config.h : Added the source type field in + _ECalConfigTargetSource + * gui/dialogs/calendar-setup.c (calendar_setup_edit_calendar) : Set + the source type as calendar + (calendar_setup_edit_task_list) : Set the source type as tasks. + 2005-06-25 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/event-editor.c diff --git a/calendar/gui/dialogs/calendar-setup.c b/calendar/gui/dialogs/calendar-setup.c index 0cfc32a217..e54a3a3838 100644 --- a/calendar/gui/dialogs/calendar-setup.c +++ b/calendar/gui/dialogs/calendar-setup.c @@ -442,6 +442,7 @@ calendar_setup_edit_calendar (struct _GtkWindow *parent, ESource *source, ESourc e_config_add_page_check ((EConfig *) ec, NULL, eccp_check_complete, sdialog); target = e_cal_config_target_new_source (ec, sdialog->source); + target->source_type = E_CAL_SOURCE_TYPE_EVENT; e_config_set_target ((EConfig *) ec, (EConfigTarget *) target); if (source) @@ -510,6 +511,7 @@ calendar_setup_edit_task_list (struct _GtkWindow *parent, ESource *source) e_config_add_page_check ((EConfig *) ec, NULL, eccp_check_complete, sdialog); target = e_cal_config_target_new_source (ec, sdialog->source); + target->source_type = E_CAL_SOURCE_TYPE_TODO; e_config_set_target ((EConfig *) ec, (EConfigTarget *) target); sdialog->window = e_config_create_window ((EConfig *)ec, NULL, _("Task List Properties")); diff --git a/calendar/gui/e-cal-config.h b/calendar/gui/e-cal-config.h index 93086dd8ce..fa3a26e75f 100644 --- a/calendar/gui/e-cal-config.h +++ b/calendar/gui/e-cal-config.h @@ -24,6 +24,7 @@ #include <glib-object.h> +#include <libecal/e-cal.h> #include "e-util/e-config.h" #ifdef __cplusplus @@ -52,6 +53,7 @@ struct _ECalConfigTargetSource { EConfigTarget target; struct _ESource *source; + ECalSourceType *source_type; }; typedef struct _EConfigItem ECalConfigItem; |