Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10069/src/gui
Modified Files:
wxFolderView.cpp
Log Message:
we need to refresh the entire listing when new messages appear in the folder as
they could be shown anywhere and not just at the end
Index: wxFolderView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderView.cpp,v
retrieving revision 1.676
retrieving revision 1.677
diff -b -u -2 -r1.676 -r1.677
--- wxFolderView.cpp 8 Apr 2006 00:20:05 -0000 1.676
+++ wxFolderView.cpp 17 Apr 2006 15:35:25 -0000 1.677
@@ -2301,4 +2301,10 @@
UpdateItemCount();
+ // we also need to refresh all the currently shown items because a new
+ // message might replace an old one currently shown in its place because
+ // of sorting/threading (i.e. the new messages are not necessarily at the
+ // end of the list)
+ Refresh();
+
// keep the same item selected if possible: use its UID as its index
// might have changed if the sort order in the folder changed
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates