Index: camel-vee-summary.c
===================================================================
--- camel-vee-summary.c	(revision 9695)
+++ camel-vee-summary.c	(working copy)
@@ -42,7 +42,7 @@
 #define d(x)
 
 static CamelFolderSummaryClass *camel_vee_summary_parent;
-const char *unread_str = " (and\n  \n     (match-all (not (system-flag  \"Seen\")))\n    \n  )\n";
+const char *unread_str = " (and\n  \n     (match-all (not (system-flag  \"Seen\")))\n    \n  )\n; (match-threads \"all\"  (and\n  \n     (match-all (not (system-flag  \"Seen\")))\n    \n  )\n)\n;";
 
 static void
 vee_message_info_free(CamelFolderSummary *s, CamelMessageInfo *info)
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 9738)
+++ ChangeLog	(working copy)
@@ -1,5 +1,9 @@
 2008-11-07  Srinivasa Ragavan  <sragavan@novell.com>
 
+	* camel-vee-summary.c: Make unread vfolders to work for match threads.
+
+2008-11-07  Srinivasa Ragavan  <sragavan@novell.com>
+
 	** Fix for bug #558883
 
 	* camel-db.c: (camel_db_prepare_message_info_table): Index more
