aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-select-file.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-select-file.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-select-file.h')
-rw-r--r--composer/e-msg-composer-select-file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/composer/e-msg-composer-select-file.h b/composer/e-msg-composer-select-file.h
index 2f89bd58b4..316426b40b 100644
--- a/composer/e-msg-composer-select-file.h
+++ b/composer/e-msg-composer-select-file.h
@@ -29,4 +29,7 @@
char *e_msg_composer_select_file (EMsgComposer *composer,
const char *title);
+char *e_msg_composer_select_file_attachment (EMsgComposer *composer,
+ gboolean *inline_p);
+
#endif /* E_MSG_COMPOSER_SELECT_FILE_H */