From 6e163b39c75dbba470d073b4f79a897aa6fb0e54 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 24 Mar 2009 02:05:26 +0000 Subject: Saving progress again on the attachment rewrite. svn path=/branches/kill-bonobo/; revision=37470 --- composer/e-msg-composer.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'composer/e-msg-composer.c') diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 138da07389..f77addfa58 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -3803,7 +3803,7 @@ e_msg_composer_get_message (EMsgComposer *composer, view = e_msg_composer_get_attachment_view (composer); store = e_attachment_view_get_store (view); - if (e_attachment_store_get_num_downloading (store) > 0) { + if (e_attachment_store_get_num_loading (store) > 0) { if (!em_utils_prompt_user (GTK_WINDOW (composer), NULL, "mail-composer:ask-send-message-pending-download", NULL)) { return NULL; @@ -4255,13 +4255,9 @@ e_msg_composer_get_header_table (EMsgComposer *composer) EAttachmentView * e_msg_composer_get_attachment_view (EMsgComposer *composer) { - EAttachmentPaned *paned; - g_return_val_if_fail (E_IS_MSG_COMPOSER (composer), NULL); - paned = E_ATTACHMENT_PANED (composer->priv->attachment_paned); - - return e_attachment_paned_get_view (paned); + return E_ATTACHMENT_VIEW (composer->priv->attachment_paned); } void -- cgit