diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-11-24 19:41:52 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-11-24 19:41:52 +0800 |
commit | a25373060b564e28d09c14248126b0b60f679c26 (patch) | |
tree | d2dd05bc269515486af02fdc70e5d93e74108f7b | |
parent | 25c1366e4ac195f56bc43c5db31b075e6d088533 (diff) | |
download | gsoc2013-evolution-a25373060b564e28d09c14248126b0b60f679c26.tar.gz gsoc2013-evolution-a25373060b564e28d09c14248126b0b60f679c26.tar.zst gsoc2013-evolution-a25373060b564e28d09c14248126b0b60f679c26.zip |
use the correct icalcomponent when calling e_cal_create_object.
2003-11-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/copy-source-dialog.c (copy_source): use the correct
icalcomponent when calling e_cal_create_object.
svn path=/trunk/; revision=23482
-rw-r--r-- | calendar/ChangeLog | 3 | ||||
-rw-r--r-- | calendar/gui/dialogs/copy-source-dialog.c | 2 | ||||
-rw-r--r-- | calendar/gui/e-tasks.c | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 8fb7ad333c..2ba98c0ab9 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,8 @@ 2003-11-24 Rodrigo Moya <rodrigo@ximian.com> + * gui/dialogs/copy-source-dialog.c (copy_source): use the correct + icalcomponent when calling e_cal_create_object. + * gui/tasks-control.c (sensitize_commands): no need to have a selection for Paste to work. diff --git a/calendar/gui/dialogs/copy-source-dialog.c b/calendar/gui/dialogs/copy-source-dialog.c index a920a3766c..feec6b8497 100644 --- a/calendar/gui/dialogs/copy-source-dialog.c +++ b/calendar/gui/dialogs/copy-source-dialog.c @@ -95,7 +95,7 @@ copy_source (CopySourceDialogData *csdd) &icalcomp, NULL)) { e_cal_modify_object (dest_client, icalcomp, CALOBJ_MOD_ALL, NULL); } else { - e_cal_create_object (dest_client, icalcomp, (char **) &uid, NULL); + e_cal_create_object (dest_client, l->data, (char **) &uid, NULL); g_free ((gpointer) uid); } } diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index e7b60ed8aa..011ac03f4c 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -856,7 +856,6 @@ e_tasks_add_todo_uri (ETasks *tasks, const char *str_uri) g_signal_connect (G_OBJECT (client), "backend_error", G_CALLBACK (backend_error_cb), tasks); g_signal_connect (G_OBJECT (client), "categories_changed", G_CALLBACK (client_categories_changed_cb), tasks); -// g_signal_connect (G_OBJECT (client), "backend_died", G_CALLBACK (backend_died_cb), tasks); if (!e_cal_open (client, FALSE, NULL)) { g_hash_table_remove (priv->clients, str_uri); |