Index: Example.xml
===================================================================
RCS file: /cvsroot/dcplusplus/dcplusplus/Example.xml,v
retrieving revision 1.78
diff -u -d -r1.78 Example.xml
--- Example.xml 8 Aug 2004 17:58:54 -0000 1.78
+++ Example.xml 25 Aug 2004 21:59:58 -0000
@@ -285,6 +285,8 @@
Search String
Specifying the same search string for more than 5 files for a passive connection or 10 files for an active connection is inefficient. Would you like to continue with the operation?
Searching for
+ See other lists?
+ The hublist you are currently using doesn't appear to be working.\nWould you like to see some alternate hublists?
Send private message
Separator
Server
Index: client/StringDefs.cpp
===================================================================
RCS file: /cvsroot/dcplusplus/dcplusplus/client/StringDefs.cpp,v
retrieving revision 1.86
diff -u -d -r1.86 StringDefs.cpp
--- client/StringDefs.cpp 8 Aug 2004 17:59:08 -0000 1.86
+++ client/StringDefs.cpp 25 Aug 2004 22:00:02 -0000
@@ -286,6 +286,8 @@
"Search String",
"Specifying the same search string for more than 5 files for a passive connection or 10 files for an active connection is inefficient. Would you like to continue with the operation?",
"Searching for ",
+"See other lists?",
+"The hublist you are currently using doesn't appear to be working.\nWould you like to see some alternate hublists?",
"Send private message",
"Separator",
"Server",
@@ -744,6 +746,8 @@
"SearchString",
"SearchStringInefficient",
"SearchingFor",
+"SeeOtherLists",
+"SeeOtherListsMsg",
"SendPrivateMessage",
"Separator",
"Server",
Index: client/StringDefs.h
===================================================================
RCS file: /cvsroot/dcplusplus/dcplusplus/client/StringDefs.h,v
retrieving revision 1.85
diff -u -d -r1.85 StringDefs.h
--- client/StringDefs.h 8 Aug 2004 17:59:08 -0000 1.85
+++ client/StringDefs.h 25 Aug 2004 22:00:03 -0000
@@ -289,6 +289,8 @@
SEARCH_STRING, // "Search String"
SEARCH_STRING_INEFFICIENT, // "Specifying the same search string for more than 5 files for a passive connection or 10 files for an active connection is inefficient. Would you like to continue with the operation?"
SEARCHING_FOR, // "Searching for "
+ SEE_OTHER_LISTS, // "See other lists?"
+ SEE_OTHER_LISTS_MSG, // "The hublist you are currently using doesn't appear to be working.\nWould you like to see some alternate hublists?"
SEND_PRIVATE_MESSAGE, // "Send private message"
SEPARATOR, // "Separator"
SERVER, // "Server"
Index: windows/PublicHubsFrm.h
===================================================================
RCS file: /cvsroot/dcplusplus/dcplusplus/windows/PublicHubsFrm.h,v
retrieving revision 1.22
diff -u -d -r1.22 PublicHubsFrm.h
--- windows/PublicHubsFrm.h 12 Jul 2004 09:50:03 -0000 1.22
+++ windows/PublicHubsFrm.h 25 Aug 2004 22:00:06 -0000
@@ -166,7 +166,12 @@
static int columnSizes[];
virtual void on(DownloadStarting, const string& l) throw() { speak(STARTING, l); }
- virtual void on(DownloadFailed, const string& l) throw() { speak(FAILED, l); }
+ virtual void on(DownloadFailed, const string& l) throw() {
+ speak(FAILED, l);
+ if (MessageBox(CSTRING(SEE_OTHER_LISTS_MSG), CSTRING(SEE_OTHER_LISTS), MB_YESNO | MB_ICONQUESTION | MB_DEFBUTTON1) == IDYES){
+ WinUtil::openLink("http://dcplusplus.sourceforge.net/forum/viewtopic.php?t=7106");
+ }
+ }
virtual void on(DownloadFinished, const string& l) throw() { speak(FINISHED, l); }
void speak(int x, const string& l) {