From 62bbb592735b4541f850cac7d18d3fa8d38e8221 Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Wed, 16 Jan 2008 16:11:48 +0000 Subject: [PATCH] Updated URLs to the new subdomains. Originally committed to SVN as r1740. --- aegisub/dialog_version_check.cpp | 2 +- aegisub/frame_main_events.cpp | 10 +++------- aegisub/help_button.cpp | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/aegisub/dialog_version_check.cpp b/aegisub/dialog_version_check.cpp index 95e681c9c..1fb5dfcea 100644 --- a/aegisub/dialog_version_check.cpp +++ b/aegisub/dialog_version_check.cpp @@ -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 diff --git a/aegisub/frame_main_events.cpp b/aegisub/frame_main_events.cpp index f259dc144..bc7bfc496 100644 --- a/aegisub/frame_main_events.cpp +++ b/aegisub/frame_main_events.cpp @@ -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/")); } diff --git a/aegisub/help_button.cpp b/aegisub/help_button.cpp index daa0d4cb2..f2caf65b2 100644 --- a/aegisub/help_button.cpp +++ b/aegisub/help_button.cpp @@ -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);