summaryrefslogtreecommitdiff
path: root/noncore/net/mail/imapwrapper.cpp
authoralwin <alwin>2003-12-14 22:30:26 (UTC)
committer alwin <alwin>2003-12-14 22:30:26 (UTC)
commitbdc60d27df0fa3a861e9117547fd2bed8a39661e (patch) (side-by-side diff)
tree8dba1e590e60443ec0aff14398da665d351b0aa4 /noncore/net/mail/imapwrapper.cpp
parent172c790df9004205eda2da25832cdc88fc6481ee (diff)
downloadopie-bdc60d27df0fa3a861e9117547fd2bed8a39661e.zip
opie-bdc60d27df0fa3a861e9117547fd2bed8a39661e.tar.gz
opie-bdc60d27df0fa3a861e9117547fd2bed8a39661e.tar.bz2
-answered mails get another pic (checked in in pics/opiemail)
-if a description for an attachment exists it will displayed -if mailbody is selected from list of attachments it will displayd without menu
Diffstat (limited to 'noncore/net/mail/imapwrapper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/imapwrapper.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/net/mail/imapwrapper.cpp b/noncore/net/mail/imapwrapper.cpp
index 0ce2c6c..ad95384 100644
--- a/noncore/net/mail/imapwrapper.cpp
+++ b/noncore/net/mail/imapwrapper.cpp
@@ -696,6 +696,9 @@ void IMAPwrapper::fillBodyFields(RecPart&target_part,mailimap_body_fields*which)
free(t);
}
}
+ if (which->bd_description) {
+ target_part.setDescription(QString(which->bd_description));
+ }
target_part.setEncoding(encoding);
target_part.setSize(which->bd_size);
}
@@ -760,7 +763,7 @@ void IMAPwrapper::answeredMail(const RecMail&mail)
}
flist = mailimap_flag_list_new_empty();
mailimap_flag_list_add(flist,mailimap_flag_new_answered());
- store_flags = mailimap_store_att_flags_new_set_flags(flist);
+ store_flags = mailimap_store_att_flags_new_add_flags(flist);
set = mailimap_set_new_single(mail.getNumber());
err = mailimap_store(m_imap,set,store_flags);
mailimap_set_free( set );