summaryrefslogtreecommitdiff
authoralwin <alwin>2005-03-12 02:17:39 (UTC)
committer alwin <alwin>2005-03-12 02:17:39 (UTC)
commit4c3ce64f6816353f5b8bc268c126d7c53d18ce46 (patch) (side-by-side diff)
tree1489d76901c287b527ac8fc78b5bbb1179d7110d
parentc30ae1086dfe8bebe1790161ba7df6c5472ded9f (diff)
downloadopie-4c3ce64f6816353f5b8bc268c126d7c53d18ce46.zip
opie-4c3ce64f6816353f5b8bc268c126d7c53d18ce46.tar.gz
opie-4c3ce64f6816353f5b8bc268c126d7c53d18ce46.tar.bz2
pixmaps
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/accountitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/accountitem.cpp b/noncore/net/mail/accountitem.cpp
index 4869df8..10db2c6 100644
--- a/noncore/net/mail/accountitem.cpp
+++ b/noncore/net/mail/accountitem.cpp
@@ -894,49 +894,49 @@ MHfolderItem::MHfolderItem(const FolderP& folderInit, MHfolderItem *parent, QLis
mbox = master;
initName();
}
void MHfolderItem::initName()
{
QString bName = folder->getDisplayName();
if (bName.startsWith("/")&&bName.length()>1)
{
bName.replace(0,1,"");
}
int pos = bName.findRev("/");
if (pos > 0)
{
bName.replace(0,pos+1,"");
}
if (bName.lower() == "outgoing")
{
setPixmap( 0, PIXMAP_OUTBOXFOLDER );
}
else if (bName.lower() == "inbox")
{
setPixmap( 0, PIXMAP_INBOXFOLDER);
} else if (bName.lower() == "drafts") {
- setPixmap(0, Resource::loadPixmap("inline/edit"));
+ setPixmap(0, Resource::loadPixmap("edit"));
} else {
setPixmap( 0, PIXMAP_MBOXFOLDER );
}
setText( 0, bName );
}
const FolderP&MHfolderItem::getFolder()const
{
return folder;
}
void MHfolderItem::refresh(QValueList<RecMailP>&target)
{
if (folder->may_select())
mbox->getWrapper()->listMessages( folder->getName(),target );
}
RECBODYP MHfolderItem::fetchBody(const RecMailP&aMail)
{
return mbox->getWrapper()->fetchBody(aMail);
}
void MHfolderItem::deleteFolder()
{