aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-11-01 02:03:20 +0800
committerHans Petter <hansp@src.gnome.org>2003-11-01 02:03:20 +0800
commitdd09d630872427be423ac416340192a24e2d037e (patch)
treeee2a40b507516d82d5615ae04280d81604508354 /calendar/gui/calendar-component.c
parenta7ac69cdc61b193cbc62fbe908652cebf1ee8f2d (diff)
downloadgsoc2013-evolution-dd09d630872427be423ac416340192a24e2d037e.tar
gsoc2013-evolution-dd09d630872427be423ac416340192a24e2d037e.tar.gz
gsoc2013-evolution-dd09d630872427be423ac416340192a24e2d037e.tar.bz2
gsoc2013-evolution-dd09d630872427be423ac416340192a24e2d037e.tar.lz
gsoc2013-evolution-dd09d630872427be423ac416340192a24e2d037e.tar.xz
gsoc2013-evolution-dd09d630872427be423ac416340192a24e2d037e.tar.zst
gsoc2013-evolution-dd09d630872427be423ac416340192a24e2d037e.zip
Add the webcal source group.
2003-10-31 Hans Petter Jansson <hpj@ximian.com> * 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
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c6
1 files changed, 5 insertions, 1 deletions
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;