From 1391cd5ced4c2c7e1caab5e0d61b02db83edcbd8 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 12 Jun 2001 18:04:15 +0000 Subject: 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 --- composer/e-msg-composer-select-file.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'composer/e-msg-composer-select-file.h') 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 */ -- cgit v1.2.3