Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv14244/src/gui
Modified Files:
wxFolderView.cpp
Log Message:
prevent the same search folder from being reused for all searches (while it's opened)
Index: wxFolderView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderView.cpp,v
retrieving revision 1.596
retrieving revision 1.597
diff -b -u -2 -r1.596 -r1.597
--- wxFolderView.cpp 17 Jul 2002 19:22:50 -0000 1.596
+++ wxFolderView.cpp 18 Jul 2002 00:01:02 -0000 1.597
@@ -5039,5 +5039,5 @@
(
"virtual",
- "Search results",
+ _("Search results"),
MF_FILE,
mf->GetProfile()
@@ -5045,4 +5045,9 @@
if ( !folder )
return false;
+
+ // FIXME: a hack to prevent the same search results folder from being reused
+ // all the time
+ static unsigned int s_countSearch = 0;
+ folder->SetPath(String::Format("(%u)", ++s_countSearch));
MailFolder_obj mfVirt = MailFolder::OpenFolder(folder);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates