aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog4
-rw-r--r--composer/e-msg-composer.c8
-rw-r--r--composer/e-msg-composer.h2
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 <rodo@ximian.com>
+
+ * e-msg-composer.c (e_msg_composer_get_sig_file_content): exported
+
2001-06-27 Larry Ewing <lewing@ximian.com>
* 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 ("<!--+GtkHTML:<DATA class=\"ClueFlow\" key=\"signature\" value=\"1\">-->"
"<TABLE WIDTH=\"100%%\" CELLSPACING=\"0\" CELLPADDING=\"0\"><TR><TD>"
@@ -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
}