diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-03 05:13:18 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-03 05:13:18 +0800 |
commit | e694ee7fffe74825f0791748a11e13e5e6585804 (patch) | |
tree | 3eb18ffaeadf365dc44706c16472532c2d4907d1 /composer/e-msg-composer-attachment-bar.h | |
parent | a344e38cdbb5991963fb340b1f249da53d069fe6 (diff) | |
download | gsoc2013-evolution-e694ee7fffe74825f0791748a11e13e5e6585804.tar.gz gsoc2013-evolution-e694ee7fffe74825f0791748a11e13e5e6585804.tar.zst gsoc2013-evolution-e694ee7fffe74825f0791748a11e13e5e6585804.zip |
Set the user-chosen charset.
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Set the
user-chosen charset.
* e-msg-composer.c (menu_change_charset_cb): New callback function
to get the user-set charset.
(init): Set the charset to NULL.
(best_charset): Take a default_charset param that holds the value
the user set for this particular message using the menu.
(destroy): Free the charset.
svn path=/trunk/; revision=10704
Diffstat (limited to 'composer/e-msg-composer-attachment-bar.h')
-rw-r--r-- | composer/e-msg-composer-attachment-bar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/composer/e-msg-composer-attachment-bar.h b/composer/e-msg-composer-attachment-bar.h index 118f245a88..15774bb2fe 100644 --- a/composer/e-msg-composer-attachment-bar.h +++ b/composer/e-msg-composer-attachment-bar.h @@ -63,7 +63,8 @@ typedef struct _EMsgComposerAttachmentBarClass EMsgComposerAttachmentBarClass; GtkType e_msg_composer_attachment_bar_get_type (void); GtkWidget *e_msg_composer_attachment_bar_new (GtkAdjustment *adj); -void e_msg_composer_attachment_bar_to_multipart (EMsgComposerAttachmentBar *bar, CamelMultipart *multipart); +void e_msg_composer_attachment_bar_to_multipart (EMsgComposerAttachmentBar *bar, CamelMultipart *multipart, + const char *default_charset); guint e_msg_composer_attachment_bar_get_num_attachments (EMsgComposerAttachmentBar *bar); void e_msg_composer_attachment_bar_attach (EMsgComposerAttachmentBar *bar, const gchar *file_name); void e_msg_composer_attachment_bar_attach_mime_part (EMsgComposerAttachmentBar *bar, CamelMimePart *part); |