Add a link to our documentations guides in Dolphin

This commit is contained in:
Pierre Bourdon 2013-08-31 10:31:34 +02:00
parent 676d78ec41
commit 751c2e69f6
3 changed files with 8 additions and 2 deletions

View File

@ -152,6 +152,7 @@ BEGIN_EVENT_TABLE(CFrame, CRenderFrame)
EVT_MENU(wxID_OPEN, CFrame::OnOpen)
EVT_MENU(wxID_EXIT, CFrame::OnQuit)
EVT_MENU(IDM_HELPWEBSITE, CFrame::OnHelp)
EVT_MENU(IDM_HELPONLINEDOCS, CFrame::OnHelp)
EVT_MENU(IDM_HELPGOOGLECODE, CFrame::OnHelp)
EVT_MENU(wxID_ABOUT, CFrame::OnHelp)
EVT_MENU(wxID_REFRESH, CFrame::OnRefresh)

View File

@ -297,6 +297,7 @@ void CFrame::CreateMenu()
// Re-enable when there's something useful to display */
// helpMenu->Append(wxID_HELP, _("&Help"));
helpMenu->Append(IDM_HELPWEBSITE, _("Dolphin &Web Site"));
helpMenu->Append(IDM_HELPONLINEDOCS, _("Online &Documentation"));
helpMenu->Append(IDM_HELPGOOGLECODE, _("Dolphin at &Google Code"));
helpMenu->AppendSeparator();
helpMenu->Append(wxID_ABOUT, _("&About..."));
@ -1255,10 +1256,13 @@ void CFrame::OnHelp(wxCommandEvent& event)
}
break;
case IDM_HELPWEBSITE:
WxUtils::Launch("http://dolphin-emu.org/");
WxUtils::Launch("https://dolphin-emu.org/");
break;
case IDM_HELPONLINEDOCS:
WxUtils::Launch("https://dolphin-emu.org/docs/guides/");
break;
case IDM_HELPGOOGLECODE:
WxUtils::Launch("http://code.google.com/p/dolphin-emu/");
WxUtils::Launch("https://code.google.com/p/dolphin-emu/");
break;
}
}

View File

@ -118,6 +118,7 @@ enum
IDM_PURGECACHE,
IDM_HELPWEBSITE, // Help menu
IDM_HELPONLINEDOCS,
IDM_HELPGOOGLECODE,
IDM_CONFIG_GFX_BACKEND,