aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-09-30 01:51:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-09-30 01:51:28 +0800
commit4fa09be9332c0c5d078a521775b26dde9fae77f7 (patch)
treed3625acd921b647b81b5583bcbba6b857ef9f230
parent0b1c3c77753d582c7c06fd3075d678cd50daadb7 (diff)
downloadgsoc2013-evolution-4fa09be9332c0c5d078a521775b26dde9fae77f7.tar
gsoc2013-evolution-4fa09be9332c0c5d078a521775b26dde9fae77f7.tar.gz
gsoc2013-evolution-4fa09be9332c0c5d078a521775b26dde9fae77f7.tar.bz2
gsoc2013-evolution-4fa09be9332c0c5d078a521775b26dde9fae77f7.tar.lz
gsoc2013-evolution-4fa09be9332c0c5d078a521775b26dde9fae77f7.tar.xz
gsoc2013-evolution-4fa09be9332c0c5d078a521775b26dde9fae77f7.tar.zst
gsoc2013-evolution-4fa09be9332c0c5d078a521775b26dde9fae77f7.zip
added a FIXME comment
svn path=/trunk/; revision=22749
-rw-r--r--mail/em-folder-browser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 7341f91543..19c73c8d9c 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -708,6 +708,7 @@ emfb_list_built(MessageList *ml, EMFolderBrowser *emfb)
g_signal_handler_disconnect(ml, emfb->priv->list_built_id);
emfb->priv->list_built_id = 0;
+ /* FIXME: if the 1st message in the list is unread, this will actually select the second unread msg */
if (((EMFolderView *)emfb)->list->cursor_uid == NULL)
message_list_select(((EMFolderView *)emfb)->list,
MESSAGE_LIST_SELECT_NEXT, 0, CAMEL_MESSAGE_SEEN, TRUE);
@@ -726,7 +727,7 @@ emfb_set_folder(EMFolderView *emfv, CamelFolder *folder, const char *uri)
em_folder_browser_show_preview((EMFolderBrowser *)emfv, sstate[0] != '0');
if ((sstate = camel_object_meta_get(folder, "evolution:thread_list")))
- message_list_set_threaded(emfv->list, sstate[0] == '1');
+ message_list_set_threaded(emfv->list, sstate[0] != '0');
if (emfv->list->cursor_uid == NULL && ((EMFolderBrowser *)emfv)->priv->list_built_id == 0)
((EMFolderBrowser *)emfv)->priv->list_built_id =