Updated URLs to the new subdomains.

Originally committed to SVN as r1740.
This commit is contained in:
Rodrigo Braz Monteiro 2008-01-16 16:11:48 +00:00
parent cee3ed931a
commit 62bbb59273
3 changed files with 5 additions and 9 deletions

View file

@ -160,8 +160,8 @@ VersionCheckThread::VersionCheckThread(DialogVersionCheck *par)
wxThread::ExitCode VersionCheckThread::Entry() {
// List of paths
wxArrayString paths;
paths.Add(_T("http://files.aegisub.net/latest.txt"));
paths.Add(_T("http://aegisub.cellosoft.com/latest.txt"));
paths.Add(_T("http://www.malakith.net/amz/aegisub/latest.txt"));
wxFSFile *fp = NULL;
// Try each path until it finds one that works

View file

@ -567,25 +567,21 @@ void FrameMain::OnContents(wxCommandEvent& WXUNUSED(event)) {
////////////////
// Open website
void FrameMain::OnWebsite(wxCommandEvent& WXUNUSED(event)) {
wxFileType *type = wxTheMimeTypesManager->GetFileTypeFromExtension(_T("html"));
if (type) {
wxString command = type->GetOpenCommand(_T("http://www.aegisub.net/"));
if (!command.empty()) wxExecute(command);
}
AegisubApp::OpenURL(_T("http://www.aegisub.net/"));
}
///////////////
// Open forums
void FrameMain::OnForums(wxCommandEvent& WXUNUSED(event)) {
AegisubApp::OpenURL(_T("http://www.malakith.net/aegisub/"));
AegisubApp::OpenURL(_T("http://forum.aegisub.net/"));
}
///////////////////
// Open bugtracker
void FrameMain::OnBugTracker(wxCommandEvent& WXUNUSED(event)) {
AegisubApp::OpenURL(_T("http://aegibug.nyo.dk/"));
AegisubApp::OpenURL(_T("http://bugs.aegisub.net/"));
}

View file

@ -79,7 +79,7 @@ void HelpButton::OpenPage(const wxString pageID) {
// Get the file type
wxFileType *type = wxTheMimeTypesManager->GetFileTypeFromExtension(_T("html"));
if (type) {
wxString path = StandardPaths::DecodePath(wxString::Format(_T("http://aegisub.cellosoft.com/docs/%s"),page.c_str()));
wxString path = StandardPaths::DecodePath(wxString::Format(_T("http://docs.aegisub.net/%s"),page.c_str()));
//wxString command = type->GetOpenCommand(path);
//if (!command.empty()) wxExecute(command);
wxLaunchDefaultBrowser(path);