aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-config.h
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-10-30 01:47:48 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-10-30 01:47:48 +0800
commitfc9020ba21008c6f4a8fe1826389747fab5c6848 (patch)
tree770375ed1a3a28db1a039afee94c200155549f88 /calendar/gui/calendar-config.h
parent8650735ac6fc68c6465554fd2b0e3edc26d87b14 (diff)
downloadgsoc2013-evolution-fc9020ba21008c6f4a8fe1826389747fab5c6848.tar.gz
gsoc2013-evolution-fc9020ba21008c6f4a8fe1826389747fab5c6848.tar.zst
gsoc2013-evolution-fc9020ba21008c6f4a8fe1826389747fab5c6848.zip
new functions for setting and retrieving the default calendar URIs
2001-10-29 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-config.[ch] (calendar_config_get_default_uri): (calendar_config_set_default_uri): (calendar_config_get_default_tasks_uri): (calendar_config_set_default_tasks_uri): new functions for setting and retrieving the default calendar URIs * gui/e-itip-control.c (init): don't use hard-coded URI, but use the default calendar URI, as returned by calendar_config_get_default_uri (start_calendar_server): added a "gboolean tasks" parameter, so that the local tasks.ics file is used if the calendar to be started is for tasks when no default tasks URI is found in the configuration svn path=/trunk/; revision=14345
Diffstat (limited to 'calendar/gui/calendar-config.h')
-rw-r--r--calendar/gui/calendar-config.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/calendar/gui/calendar-config.h b/calendar/gui/calendar-config.h
index b5992e4c81..4bdb7a175d 100644
--- a/calendar/gui/calendar-config.h
+++ b/calendar/gui/calendar-config.h
@@ -1,8 +1,9 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
- * Author :
+ * Authors :
* Damon Chaplin <damon@ximian.com>
+ * Rodrigo Moya <rodrigo@ximian.com>
*
* Copyright 2000, Ximian, Inc.
* Copyright 2000, Ximian, Inc.
@@ -68,6 +69,13 @@ void calendar_config_write_on_exit (void);
* Calendar Settings.
*/
+/* The default calendar URI to be used when no specified (~/evolution/local/Calendar) */
+gchar* calendar_config_get_default_uri (void);
+void calendar_config_set_default_uri (gchar *default_uri);
+
+gchar* calendar_config_get_default_tasks_uri (void);
+void calendar_config_set_default_tasks_uri (gchar *default_tasks_uri);
+
/* The current timezone, e.g. "Europe/London". */
gchar* calendar_config_get_timezone (void);
void calendar_config_set_timezone (gchar *timezone);