aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/control-factory.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-09-09 09:00:05 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-09-09 09:00:05 +0800
commit3561e168465b99a2e31053a4a41ea05f9d485b9e (patch)
tree48cf7aceb6f5c57b5ff1df36683df129a32b72ca /calendar/gui/control-factory.c
parent1768e0e4fde11a6dfdf2336536edce3c954f4474 (diff)
downloadgsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar.gz
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar.bz2
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar.lz
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar.xz
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.tar.zst
gsoc2013-evolution-3561e168465b99a2e31053a4a41ea05f9d485b9e.zip
New function with the loading/creation state machine. It is carefully
2000-09-08 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (cal_loaded_cb): New function with the loading/creation state machine. It is carefully modelled after the state machine that started the Universe, so bow before it. (gnome_calendar_construct): Do not connect to cal_loaded here. (connect_load): The closure for the cal_loaded callback is a bit tricky, so provide a function to create it and connect to the signal. (disconnect_load): Disconnect from the signal and free the closure. (gnome_calendar_load_cb): Removed obsolete buggy function. (gnome_calendar_open): Use the new mechanism. * gui/control-factory.c (set_prop): The default filename is now calendar.ics. svn path=/trunk/; revision=5280
Diffstat (limited to 'calendar/gui/control-factory.c')
-rw-r--r--calendar/gui/control-factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/control-factory.c b/calendar/gui/control-factory.c
index 3b2f931127..104eb3a4c9 100644
--- a/calendar/gui/control-factory.c
+++ b/calendar/gui/control-factory.c
@@ -98,7 +98,7 @@ set_prop (BonoboPropertyBag *bag,
case PROPERTY_CALENDAR_URI_IDX:
printf ("set_prop: '%s'\n", BONOBO_ARG_GET_STRING (arg));
- filename = g_strdup_printf ("%s/calendar.vcf",
+ filename = g_strdup_printf ("%s/calendar.ics",
BONOBO_ARG_GET_STRING (arg));
calendar_set_uri (gcal, filename);
g_free (filename);