-rw-r--r-- | noncore/net/mail/accountview.cpp | 10 | ||||
-rw-r--r-- | noncore/net/mail/defines.h | 6 | ||||
-rw-r--r-- | pics/mail/imapfolder.png | bin | 767 -> 470 bytes | |||
-rw-r--r-- | pics/mail/inbox.png | bin | 616 -> 783 bytes | |||
-rw-r--r-- | pics/mail/localfolder.png | bin | 0 -> 736 bytes | |||
-rw-r--r-- | pics/mail/mboxfolder.png | bin | 0 -> 473 bytes | |||
-rw-r--r-- | pics/mail/outbox.png | bin | 0 -> 769 bytes | |||
-rw-r--r-- | pics/mail/pop3folder.png | bin | 701 -> 520 bytes |
8 files changed, 12 insertions, 4 deletions
diff --git a/noncore/net/mail/accountview.cpp b/noncore/net/mail/accountview.cpp index 6bc8b8b..59e8bc0 100644 --- a/noncore/net/mail/accountview.cpp +++ b/noncore/net/mail/accountview.cpp | |||
@@ -307,7 +307,7 @@ MBOXviewItem::MBOXviewItem( const QString&aPath, QListView *parent ) | |||
307 | { | 307 | { |
308 | m_Path = aPath; | 308 | m_Path = aPath; |
309 | wrapper = AbstractMail::getWrapper( m_Path ); | 309 | wrapper = AbstractMail::getWrapper( m_Path ); |
310 | setPixmap( 0, PIXMAP_POP3FOLDER ); | 310 | setPixmap( 0, PIXMAP_LOCALFOLDER ); |
311 | setText( 0, " Local Folders" ); | 311 | setText( 0, " Local Folders" ); |
312 | setOpen( true ); | 312 | setOpen( true ); |
313 | } | 313 | } |
@@ -358,10 +358,12 @@ MBOXfolderItem::MBOXfolderItem( Folder *folderInit, MBOXviewItem *parent , QList | |||
358 | { | 358 | { |
359 | folder = folderInit; | 359 | folder = folderInit; |
360 | mbox = parent; | 360 | mbox = parent; |
361 | if (folder->getDisplayName().lower()!="inbox") { | 361 | if (folder->getDisplayName().lower() == "outgoing") { |
362 | setPixmap( 0, PIXMAP_POP3FOLDER ); | 362 | setPixmap( 0, PIXMAP_OUTBOXFOLDER ); |
363 | } else { | 363 | } else if (folder->getDisplayName().lower() == "inbox") { |
364 | setPixmap( 0, PIXMAP_INBOXFOLDER); | 364 | setPixmap( 0, PIXMAP_INBOXFOLDER); |
365 | } else { | ||
366 | setPixmap( 0, PIXMAP_MBOXFOLDER ); | ||
365 | } | 367 | } |
366 | setText( 0, folder->getDisplayName() ); | 368 | setText( 0, folder->getDisplayName() ); |
367 | } | 369 | } |
diff --git a/noncore/net/mail/defines.h b/noncore/net/mail/defines.h index d9cdab0..36c85c7 100644 --- a/noncore/net/mail/defines.h +++ b/noncore/net/mail/defines.h | |||
@@ -13,8 +13,11 @@ | |||
13 | #define PIC_EDITACCOUNTS "mail/editaccounts" | 13 | #define PIC_EDITACCOUNTS "mail/editaccounts" |
14 | #define PIC_SYNC "mail/sync" | 14 | #define PIC_SYNC "mail/sync" |
15 | #define PIC_IMAPFOLDER "mail/imapfolder" | 15 | #define PIC_IMAPFOLDER "mail/imapfolder" |
16 | #define PIC_MBOXFOLDER "mail/mboxfolder" | ||
16 | #define PIC_POP3FOLDER "mail/pop3folder" | 17 | #define PIC_POP3FOLDER "mail/pop3folder" |
17 | #define PIC_INBOXFOLDER "mail/inbox" | 18 | #define PIC_INBOXFOLDER "mail/inbox" |
19 | #define PIC_OUTBOXFOLDER "mail/outbox" | ||
20 | #define PIC_LOCALFOLDER "mail/localfolder" | ||
18 | 21 | ||
19 | #define ICON_COMPOSEMAIL QIconSet( Resource::loadPixmap( PIC_COMPOSEMAIL ) ) | 22 | #define ICON_COMPOSEMAIL QIconSet( Resource::loadPixmap( PIC_COMPOSEMAIL ) ) |
20 | #define ICON_SENDQUEUED QIconSet( Resource::loadPixmap( PIC_SENDQUEUED ) ) | 23 | #define ICON_SENDQUEUED QIconSet( Resource::loadPixmap( PIC_SENDQUEUED ) ) |
@@ -27,6 +30,9 @@ | |||
27 | #define PIXMAP_IMAPFOLDER QPixmap( Resource::loadPixmap( PIC_IMAPFOLDER ) ) | 30 | #define PIXMAP_IMAPFOLDER QPixmap( Resource::loadPixmap( PIC_IMAPFOLDER ) ) |
28 | #define PIXMAP_POP3FOLDER QPixmap( Resource::loadPixmap( PIC_POP3FOLDER ) ) | 31 | #define PIXMAP_POP3FOLDER QPixmap( Resource::loadPixmap( PIC_POP3FOLDER ) ) |
29 | #define PIXMAP_INBOXFOLDER QPixmap( Resource::loadPixmap( PIC_INBOXFOLDER) ) | 32 | #define PIXMAP_INBOXFOLDER QPixmap( Resource::loadPixmap( PIC_INBOXFOLDER) ) |
33 | #define PIXMAP_MBOXFOLDER QPixmap( Resource::loadPixmap( PIC_MBOXFOLDER ) ) | ||
34 | #define PIXMAP_OUTBOXFOLDER QPixmap( Resource::loadPixmap( PIC_OUTBOXFOLDER) ) | ||
35 | #define PIXMAP_LOCALFOLDER QPixmap( Resource::loadPixmap( PIC_LOCALFOLDER) ) | ||
30 | 36 | ||
31 | #define IMAP_PORT "143" | 37 | #define IMAP_PORT "143" |
32 | #define IMAP_SSL_PORT "993" | 38 | #define IMAP_SSL_PORT "993" |
diff --git a/pics/mail/imapfolder.png b/pics/mail/imapfolder.png index 0c980dc..f7a2901 100644 --- a/pics/mail/imapfolder.png +++ b/pics/mail/imapfolder.png | |||
Binary files differ | |||
diff --git a/pics/mail/inbox.png b/pics/mail/inbox.png index 662573d..b34f5fe 100644 --- a/pics/mail/inbox.png +++ b/pics/mail/inbox.png | |||
Binary files differ | |||
diff --git a/pics/mail/localfolder.png b/pics/mail/localfolder.png new file mode 100644 index 0000000..6b0ac61 --- a/dev/null +++ b/pics/mail/localfolder.png | |||
Binary files differ | |||
diff --git a/pics/mail/mboxfolder.png b/pics/mail/mboxfolder.png new file mode 100644 index 0000000..5012829 --- a/dev/null +++ b/pics/mail/mboxfolder.png | |||
Binary files differ | |||
diff --git a/pics/mail/outbox.png b/pics/mail/outbox.png new file mode 100644 index 0000000..3c81b43 --- a/dev/null +++ b/pics/mail/outbox.png | |||
Binary files differ | |||
diff --git a/pics/mail/pop3folder.png b/pics/mail/pop3folder.png index fad29f4..65baa24 100644 --- a/pics/mail/pop3folder.png +++ b/pics/mail/pop3folder.png | |||
Binary files differ | |||