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() { wxThread::ExitCode VersionCheckThread::Entry() {
// List of paths // List of paths
wxArrayString 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://aegisub.cellosoft.com/latest.txt"));
paths.Add(_T("http://www.malakith.net/amz/aegisub/latest.txt"));
wxFSFile *fp = NULL; wxFSFile *fp = NULL;
// Try each path until it finds one that works // Try each path until it finds one that works

View File

@ -567,25 +567,21 @@ void FrameMain::OnContents(wxCommandEvent& WXUNUSED(event)) {
//////////////// ////////////////
// Open website // Open website
void FrameMain::OnWebsite(wxCommandEvent& WXUNUSED(event)) { void FrameMain::OnWebsite(wxCommandEvent& WXUNUSED(event)) {
wxFileType *type = wxTheMimeTypesManager->GetFileTypeFromExtension(_T("html")); AegisubApp::OpenURL(_T("http://www.aegisub.net/"));
if (type) {
wxString command = type->GetOpenCommand(_T("http://www.aegisub.net/"));
if (!command.empty()) wxExecute(command);
}
} }
/////////////// ///////////////
// Open forums // Open forums
void FrameMain::OnForums(wxCommandEvent& WXUNUSED(event)) { void FrameMain::OnForums(wxCommandEvent& WXUNUSED(event)) {
AegisubApp::OpenURL(_T("http://www.malakith.net/aegisub/")); AegisubApp::OpenURL(_T("http://forum.aegisub.net/"));
} }
/////////////////// ///////////////////
// Open bugtracker // Open bugtracker
void FrameMain::OnBugTracker(wxCommandEvent& WXUNUSED(event)) { 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 // Get the file type
wxFileType *type = wxTheMimeTypesManager->GetFileTypeFromExtension(_T("html")); wxFileType *type = wxTheMimeTypesManager->GetFileTypeFromExtension(_T("html"));
if (type) { 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); //wxString command = type->GetOpenCommand(path);
//if (!command.empty()) wxExecute(command); //if (!command.empty()) wxExecute(command);
wxLaunchDefaultBrowser(path); wxLaunchDefaultBrowser(path);