aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-12-15 07:50:04 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-12-15 07:50:04 +0800
commit33e0c3723477661731e126889a11b92b0f8248d1 (patch)
treebda967f7d0eb467a84b1456d1697b54f24f197ff /mail/mail-ops.c
parent097aa981dad92fa08c17e717ceb1834a86437531 (diff)
downloadgsoc2013-evolution-33e0c3723477661731e126889a11b92b0f8248d1.tar
gsoc2013-evolution-33e0c3723477661731e126889a11b92b0f8248d1.tar.gz
gsoc2013-evolution-33e0c3723477661731e126889a11b92b0f8248d1.tar.bz2
gsoc2013-evolution-33e0c3723477661731e126889a11b92b0f8248d1.tar.lz
gsoc2013-evolution-33e0c3723477661731e126889a11b92b0f8248d1.tar.xz
gsoc2013-evolution-33e0c3723477661731e126889a11b92b0f8248d1.tar.zst
gsoc2013-evolution-33e0c3723477661731e126889a11b92b0f8248d1.zip
Set the filter driver's shell-exec callback.
2001-12-14 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_fetch_mail): Set the filter driver's shell-exec callback. svn path=/trunk/; revision=15088
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 6bb3f5b5f0..023d1781d1 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -406,6 +406,7 @@ mail_fetch_mail (const char *source, int keep, const char *type, CamelOperation
fm->driver = camel_session_get_filter_driver (session, type, NULL);
camel_filter_driver_set_folder_func (fm->driver, get_folder, get_data);
+ camel_filter_driver_set_shell_exec_func (fm->driver, mail_execute_shell_command, NULL);
if (status)
camel_filter_driver_set_status_func (fm->driver, status, status_data);
@@ -2213,7 +2214,7 @@ static struct _mail_msg_op execute_shell_command_op = {
};
void
-mail_execute_shell_command (const char *command)
+mail_execute_shell_command (CamelFilterDriver *driver, const char *command, void *data)
{
struct _execute_shell_command_msg *m;