diff options
author | Not Zed <NotZed@Ximian.com> | 2005-02-10 12:34:29 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-02-10 12:34:29 +0800 |
commit | 0a50b0ab04ce94659ca09541a1d7f4fa5758c979 (patch) | |
tree | 99a5e36f650a41b0982ab98ff014c03ef3677943 /composer/e-msg-composer-select-file.h | |
parent | ca399f16be942c52c1aa276392a104c9ed17c1ab (diff) | |
download | gsoc2013-evolution-0a50b0ab04ce94659ca09541a1d7f4fa5758c979.tar.gz gsoc2013-evolution-0a50b0ab04ce94659ca09541a1d7f4fa5758c979.tar.zst gsoc2013-evolution-0a50b0ab04ce94659ca09541a1d7f4fa5758c979.zip |
** See bug #66126.
2005-02-10 Not Zed <NotZed@Ximian.com>
** See bug #66126.
* e-msg-composer-attachment-bar.c (destroy): destroy async file
requesters.
(add_from_user_response, add_from_user): use async file
requesters.
* e-msg-composer.c (save): don't fallback to saveas if the
filename is null.
(saveas, saveas_response): new functions for async file
requesters.
(menu_file_save_cb): call saveas if we have no filename.
(menu_file_save_as_cb): call saveas.
(menu_file_open_cb, file_open_response): change for async file
loading (which doesn't appear to be used anymore).
(destroy): destroy async requesters.
* e-msg-composer-select-file.c (get_selector): make it no longer
modal, no longer show the window.
(select_file_response, e_msg_composer_select_file): make it async.
(select_attach_response, e_msg_composer_select_file_attachments):
same.
svn path=/trunk/; revision=28760
Diffstat (limited to 'composer/e-msg-composer-select-file.h')
-rw-r--r-- | composer/e-msg-composer-select-file.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/composer/e-msg-composer-select-file.h b/composer/e-msg-composer-select-file.h index 6a6ad886df..76535b9d91 100644 --- a/composer/e-msg-composer-select-file.h +++ b/composer/e-msg-composer-select-file.h @@ -24,13 +24,13 @@ #ifndef E_MSG_COMPOSER_SELECT_FILE_H #define E_MSG_COMPOSER_SELECT_FILE_H -#include "e-msg-composer.h" -char *e_msg_composer_select_file (EMsgComposer *composer, - const char *title, - gboolean save_mode); +struct _EMsgComposer; -GPtrArray *e_msg_composer_select_file_attachments (EMsgComposer *composer, - gboolean *inline_p); +typedef void (*EMsgComposerSelectFileFunc)(struct _EMsgComposer *composer, const char *filename); +typedef void (*EMsgComposerSelectAttachFunc)(struct _EMsgComposer *composer, GSList *names, int inline); + +void e_msg_composer_select_file(struct _EMsgComposer *composer, GtkWidget **w, EMsgComposerSelectFileFunc func, const char *title, int save); +void e_msg_composer_select_file_attachments(struct _EMsgComposer *composer, GtkWidget **, EMsgComposerSelectAttachFunc func); #endif /* E_MSG_COMPOSER_SELECT_FILE_H */ |