diff options
author | Dan Winship <danw@src.gnome.org> | 2002-09-30 22:04:42 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-09-30 22:04:42 +0800 |
commit | c53a336be2122ee410d754a2945afd8461184528 (patch) | |
tree | 03ac97bd2262e085063795f57ebccf47f4691998 /composer/Evolution-Composer.idl | |
parent | 1dcff68ce6ee20d604a1635d27a9cf443bdfcd0e (diff) | |
download | gsoc2013-evolution-c53a336be2122ee410d754a2945afd8461184528.tar.gz gsoc2013-evolution-c53a336be2122ee410d754a2945afd8461184528.tar.zst gsoc2013-evolution-c53a336be2122ee410d754a2945afd8461184528.zip |
let the caller set the "From" account too (by name or address).
* Evolution-Composer.idl (setHeaders): let the caller set the
"From" account too (by name or address).
* evolution-composer.c (impl_Composer_set_headers): Update for
that.
svn path=/trunk/; revision=18260
Diffstat (limited to 'composer/Evolution-Composer.idl')
-rw-r--r-- | composer/Evolution-Composer.idl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/composer/Evolution-Composer.idl b/composer/Evolution-Composer.idl index 5163197220..5dc62a3317 100644 --- a/composer/Evolution-Composer.idl +++ b/composer/Evolution-Composer.idl @@ -29,6 +29,7 @@ module Evolution { /** * setHeaders: + * @from: the "From" account or address * @to: the "To" recipients * @cc: the "CC" recipients * @bcc: the "Bcc" recipients @@ -36,10 +37,14 @@ module Evolution { * * Sets the composer headers. Any of @to, @cc, and * @bcc may be an empty list, and @subject may be an - * empty string. + * empty string. If @from is empty or invalid, the + * default account will be used. Otherwise is + * specifies an account name or email address to send + * from. **/ - void setHeaders (in RecipientList to, in RecipientList cc, - in RecipientList bcc, in string subject); + void setHeaders (in string from, in RecipientList to, + in RecipientList cc, in RecipientList bcc, + in string subject); /** * setMultipartType: |