diff options
author | alecpl <alec@alec.pl> | 2011-10-04 09:03:28 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-10-04 09:03:28 +0000 |
commit | b96ed4b74eac384057c519346c01f52ec0659608 (patch) | |
tree | c7853d2df5963860491aa8f52df9dbe4fbcb51ed /program/steps/settings | |
parent | 130cdcf7d0d0389a0c7653d25397fb5f4ddf5877 (diff) |
- Fix issue where it wasn't possible to change list view mode in folder manager for INBOX (#1488107), also show messages count and size in such case
Diffstat (limited to 'program/steps/settings')
-rw-r--r-- | program/steps/settings/edit_folder.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/settings/edit_folder.inc b/program/steps/settings/edit_folder.inc index 740c05ee5..36a4b28ba 100644 --- a/program/steps/settings/edit_folder.inc +++ b/program/steps/settings/edit_folder.inc @@ -134,7 +134,7 @@ function rcmail_folder_form($attrib) ); // Settings: threading - if ($threading_supported && !$options['noselect'] && !$options['is_root']) { + if ($threading_supported && ($mbox_imap == 'INBOX' || (!$options['noselect'] && !$options['is_root']))) { $select = new html_select(array('name' => '_viewmode', 'id' => '_listmode')); $select->add(rcube_label('list'), 0); $select->add(rcube_label('threads'), 1); @@ -191,7 +191,7 @@ function rcmail_folder_form($attrib) 'content' => array() ); - if (!$options['noselect'] && !$options['is_root']) { + if ((!$options['noselect'] && !$options['is_root']) || $mbox_imap == 'INBOX') { $msgcount = $RCMAIL->imap->messagecount($mbox_imap, 'ALL', true, false); // Size |