From dd09d630872427be423ac416340192a24e2d037e Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Fri, 31 Oct 2003 18:03:20 +0000 Subject: Add the webcal source group. 2003-10-31 Hans Petter Jansson * gui/calendar-component.c (calendar_component_init): Add the webcal source group. * gui/dialogs/new-calendar.c (print_uri_noproto): Implement. (group_is_remote): Implement. (create_new_source_with_group): Implement webcal case. (new_calendar_dialog): Get optional location from dialog. * gui/dialogs/new-calendar.glade: Add location entry. * pcs/Makefile.am: Build http backend. * pcs/cal-backend-http.[ch]: Add skeleton based on cal-backend-file. svn path=/trunk/; revision=23153 --- calendar/gui/calendar-component.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'calendar/gui/calendar-component.c') diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index e929e0db24..c9ed088e1c 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -355,7 +355,7 @@ calendar_component_init (CalendarComponent *component) ESource *source; char *base_uri, *new_dir; - /* create the source group */ + /* create the local source group */ base_uri = g_build_filename (g_get_home_dir (), "/.evolution/calendar/local/OnThisComputer/", NULL); @@ -381,6 +381,10 @@ calendar_component_init (CalendarComponent *component) } g_free (base_uri); + + /* create the remote source group */ + group = e_source_group_new (_("On The Web"), "webcal://"); + e_source_list_add_group (priv->source_list, group, -1); } component->priv = priv; -- cgit v1.2.3