aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-06-13 02:04:15 +0800
committerDan Winship <danw@src.gnome.org>2001-06-13 02:04:15 +0800
commit1391cd5ced4c2c7e1caab5e0d61b02db83edcbd8 (patch)
treee624d3aa1d8a67817baa750c80c2502f72f59252 /composer/e-msg-composer-attachment.h
parent0d6e9d6a8de480714d53636f04847944e23eee77 (diff)
downloadgsoc2013-evolution-1391cd5ced4c2c7e1caab5e0d61b02db83edcbd8.tar
gsoc2013-evolution-1391cd5ced4c2c7e1caab5e0d61b02db83edcbd8.tar.gz
gsoc2013-evolution-1391cd5ced4c2c7e1caab5e0d61b02db83edcbd8.tar.bz2
gsoc2013-evolution-1391cd5ced4c2c7e1caab5e0d61b02db83edcbd8.tar.lz
gsoc2013-evolution-1391cd5ced4c2c7e1caab5e0d61b02db83edcbd8.tar.xz
gsoc2013-evolution-1391cd5ced4c2c7e1caab5e0d61b02db83edcbd8.tar.zst
gsoc2013-evolution-1391cd5ced4c2c7e1caab5e0d61b02db83edcbd8.zip
Replace the disposition option menu with a checkbox.
* e-msg-composer-attachment.glade: Replace the disposition option menu with a checkbox. * e-msg-composer-select-file.c (e_msg_composer_select_file_attachment): New function to select a file to attach. Adds a "suggest inline disposition" checkbox. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Add a disposition argument rather than always defaulting to "attachment". (struct _DialogData, ok_cb, e_msg_composer_attachment_edit): Update for optionmenu->checkbox change for disposition. * e-msg-composer-attachment-bar.c (add_from_file): Add a disposition argument. (add_from_user): Use e_msg_composer_select_file_attachment, pass chosen disposition to add_from_file. (e_msg_composer_attachment_bar_attach): Pass "attachment" to add_from_file for the disposition. svn path=/trunk/; revision=10200
Diffstat (limited to 'composer/e-msg-composer-attachment.h')
-rw-r--r--composer/e-msg-composer-attachment.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/composer/e-msg-composer-attachment.h b/composer/e-msg-composer-attachment.h
index 7be3c9d595..381f347380 100644
--- a/composer/e-msg-composer-attachment.h
+++ b/composer/e-msg-composer-attachment.h
@@ -62,7 +62,8 @@ struct _EMsgComposerAttachmentClass {
GtkType e_msg_composer_attachment_get_type (void);
-EMsgComposerAttachment *e_msg_composer_attachment_new (const gchar *file_name);
+EMsgComposerAttachment *e_msg_composer_attachment_new (const gchar *file_name,
+ const gchar *disposition);
EMsgComposerAttachment *e_msg_composer_attachment_new_from_mime_part (CamelMimePart *part);
void e_msg_composer_attachment_edit (EMsgComposerAttachment *attachment,
GtkWidget *parent);