From 99b700bb094f6571eaf6c43273448e819f07f5ea Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Thu, 28 Jun 2001 20:36:34 +0000 Subject: exported 2001-06-28 Radek Doulik * e-msg-composer.c (e_msg_composer_get_sig_file_content): exported svn path=/trunk/; revision=10577 --- composer/ChangeLog | 4 ++++ composer/e-msg-composer.c | 8 ++++---- composer/e-msg-composer.h | 2 ++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/composer/ChangeLog b/composer/ChangeLog index f4b4717436..f3fb029762 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,7 @@ +2001-06-28 Radek Doulik + + * e-msg-composer.c (e_msg_composer_get_sig_file_content): exported + 2001-06-27 Larry Ewing * e-msg-composer.c (menu_file_insert_file_cb): make hook this up. diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index c14b784703..1fdb18aae7 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -679,8 +679,8 @@ get_file_content (const gchar *file_name, gboolean convert, guint flags) return html; } -static char * -get_sig_file_content (const char *sigfile, gboolean in_html) +char * +e_msg_composer_get_sig_file_content (const char *sigfile, gboolean in_html) { if (!sigfile || !*sigfile) { return NULL; @@ -749,7 +749,7 @@ get_signature_html (EMsgComposer *composer) if (!sig_file) return NULL; - text = get_sig_file_content (sig_file, format_html); + text = e_msg_composer_get_sig_file_content (sig_file, format_html); if (text) { html = g_strdup_printf ("" "
" @@ -2680,7 +2680,7 @@ delete_old_signature (EMsgComposer *composer) } /** - * e_msg_composer_set_sig: + * e_msg_composer_show_sig: * @composer: A message composer widget * @path: Signature file * diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index 61cdff256b..2c3aca359c 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -161,6 +161,8 @@ gboolean e_msg_composer_get_smime_sign (EMsgComposer *compo void e_msg_composer_set_smime_encrypt (EMsgComposer *composer, gboolean smime_encrypt); gboolean e_msg_composer_get_smime_encrypt (EMsgComposer *composer); +gchar * e_msg_composer_get_sig_file_content (const char *sigfile, + gboolean in_html); #ifdef __cplusplus } -- cgit v1.2.3