More work on ical import. Macros to handle errors and to display messages in both command-line and curses mode added

This commit is contained in:
Frederic Culot
2008-09-20 12:47:06 +00:00
parent 62077a18f5
commit 96b858b8bc
9 changed files with 388 additions and 128 deletions

View File

@@ -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 ();