aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-03-24 10:05:26 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-03-24 10:05:26 +0800
commit6e163b39c75dbba470d073b4f79a897aa6fb0e54 (patch)
tree86e93752711579676337bb7cfef18c903b6c7538 /composer
parent4cec9fc7169dc3b810321555a70cda916720867d (diff)
downloadgsoc2013-evolution-6e163b39c75dbba470d073b4f79a897aa6fb0e54.tar
gsoc2013-evolution-6e163b39c75dbba470d073b4f79a897aa6fb0e54.tar.gz
gsoc2013-evolution-6e163b39c75dbba470d073b4f79a897aa6fb0e54.tar.bz2
gsoc2013-evolution-6e163b39c75dbba470d073b4f79a897aa6fb0e54.tar.lz
gsoc2013-evolution-6e163b39c75dbba470d073b4f79a897aa6fb0e54.tar.xz
gsoc2013-evolution-6e163b39c75dbba470d073b4f79a897aa6fb0e54.tar.zst
gsoc2013-evolution-6e163b39c75dbba470d073b4f79a897aa6fb0e54.zip
Saving progress again on the attachment rewrite.
svn path=/branches/kill-bonobo/; revision=37470
Diffstat (limited to 'composer')
-rw-r--r--composer/e-msg-composer.c8
1 files changed, 2 insertions, 6 deletions
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