summaryrefslogtreecommitdiffstats
path: root/src/calcurse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/calcurse.c')
-rwxr-xr-xsrc/calcurse.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 4474b4d..f274ffb 100755
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -1,4 +1,4 @@
-/* $calcurse: calcurse.c,v 1.66 2008/09/15 20:40:22 culot Exp $ */
+/* $calcurse: calcurse.c,v 1.67 2008/09/20 12:47:06 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -382,6 +382,13 @@ main (int argc, char **argv)
io_save_cal (&conf);
break;
+ case 'I':
+ case 'i': /* Import function */
+ erase_status_bar ();
+ io_import_data (IO_MODE_INTERACTIVE, IO_IMPORT_ICAL, &conf);
+ do_storage = true;
+ break;
+
case 'X':
case 'x': /* Export function */
erase_status_bar ();