aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2001-06-29 04:36:34 +0800
committerRadek Doulik <rodo@src.gnome.org>2001-06-29 04:36:34 +0800
commit99b700bb094f6571eaf6c43273448e819f07f5ea (patch)
tree7adde468d044bd1bf178f46dce885a3a6e63ce93 /composer
parent6ffa930086b903dbd8fed3543f5e4ed762b6e8d1 (diff)
downloadgsoc2013-evolution-99b700bb094f6571eaf6c43273448e819f07f5ea.tar
gsoc2013-evolution-99b700bb094f6571eaf6c43273448e819f07f5ea.tar.gz
gsoc2013-evolution-99b700bb094f6571eaf6c43273448e819f07f5ea.tar.bz2
gsoc2013-evolution-99b700bb094f6571eaf6c43273448e819f07f5ea.tar.lz
gsoc2013-evolution-99b700bb094f6571eaf6c43273448e819f07f5ea.tar.xz
gsoc2013-evolution-99b700bb094f6571eaf6c43273448e819f07f5ea.tar.zst
gsoc2013-evolution-99b700bb094f6571eaf6c43273448e819f07f5ea.zip
exported
2001-06-28 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_get_sig_file_content): exported svn path=/trunk/; revision=10577
Diffstat (limited to 'composer')
-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
}