expand help menu with various useful entries.
From Georg Kraus. Addresses #5783, and was github pull request #67. Manually applied via .diff because of merge mechanics issues
This commit is contained in:
parent
9af9e17adc
commit
0d771999ac
@ -156,6 +156,7 @@ static const char* authors[] = {
|
|||||||
N_("Armand Klenk"),
|
N_("Armand Klenk"),
|
||||||
N_("Julien de Kozak"),
|
N_("Julien de Kozak"),
|
||||||
N_("Matt Krai"),
|
N_("Matt Krai"),
|
||||||
|
N_("Georg Krause"),
|
||||||
N_("Nick Lanham"),
|
N_("Nick Lanham"),
|
||||||
N_("Colin Law"),
|
N_("Colin Law"),
|
||||||
N_("Joshua Leach"),
|
N_("Joshua Leach"),
|
||||||
|
@ -3159,6 +3159,46 @@ ARDOUR_UI::launch_reference ()
|
|||||||
PBD::open_uri (Config->get_reference_manual_url());
|
PBD::open_uri (Config->get_reference_manual_url());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ARDOUR_UI::launch_tracker ()
|
||||||
|
{
|
||||||
|
PBD::open_uri ("http://tracker.ardour.org/bug_report_page.php");
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ARDOUR_UI::launch_cheat_sheet ()
|
||||||
|
{
|
||||||
|
#ifdef __APPLE__
|
||||||
|
PBD::open_uri ("http://manual.ardour.org/files/a3_mnemonic_cheat_sheet_osx.pdf");
|
||||||
|
#else
|
||||||
|
PBD::open_uri ("http://manual.ardour.org/files/a3_mnemonic_cheatsheet.pdf");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ARDOUR_UI::launch_website ()
|
||||||
|
{
|
||||||
|
PBD::open_uri ("http://ardour.org");
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ARDOUR_UI::launch_website_dev ()
|
||||||
|
{
|
||||||
|
PBD::open_uri ("http://ardour.org/development.html");
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ARDOUR_UI::launch_forums ()
|
||||||
|
{
|
||||||
|
PBD::open_uri ("https://community.ardour.org/forums");
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ARDOUR_UI::launch_howto_report ()
|
||||||
|
{
|
||||||
|
PBD::open_uri ("http://ardour.org/reporting_bugs");
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ARDOUR_UI::loading_message (const std::string& msg)
|
ARDOUR_UI::loading_message (const std::string& msg)
|
||||||
{
|
{
|
||||||
|
@ -145,6 +145,12 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
|
|||||||
void launch_chat ();
|
void launch_chat ();
|
||||||
void launch_manual ();
|
void launch_manual ();
|
||||||
void launch_reference ();
|
void launch_reference ();
|
||||||
|
void launch_tracker ();
|
||||||
|
void launch_cheat_sheet ();
|
||||||
|
void launch_website ();
|
||||||
|
void launch_website_dev ();
|
||||||
|
void launch_forums ();
|
||||||
|
void launch_howto_report ();
|
||||||
void show_about ();
|
void show_about ();
|
||||||
void hide_about ();
|
void hide_about ();
|
||||||
|
|
||||||
|
@ -209,6 +209,12 @@ if (Profile->get_mixbus())
|
|||||||
/** TRANSLATORS: This is `Manual' in the sense of an instruction book that tells a user how to use Ardour */
|
/** TRANSLATORS: This is `Manual' in the sense of an instruction book that tells a user how to use Ardour */
|
||||||
ActionManager::register_action (common_actions, X_("Manual"), S_("Help|Manual"), mem_fun(*this, &ARDOUR_UI::launch_manual));
|
ActionManager::register_action (common_actions, X_("Manual"), S_("Help|Manual"), mem_fun(*this, &ARDOUR_UI::launch_manual));
|
||||||
ActionManager::register_action (common_actions, X_("Reference"), _("Reference"), mem_fun(*this, &ARDOUR_UI::launch_reference));
|
ActionManager::register_action (common_actions, X_("Reference"), _("Reference"), mem_fun(*this, &ARDOUR_UI::launch_reference));
|
||||||
|
ActionManager::register_action (common_actions, X_("Tracker"), _("Report A Bug"), mem_fun(*this, &ARDOUR_UI::launch_tracker));
|
||||||
|
ActionManager::register_action (common_actions, X_("Cheat_Sheet"), _("Cheat Sheet"), mem_fun(*this, &ARDOUR_UI::launch_cheat_sheet));
|
||||||
|
ActionManager::register_action (common_actions, X_("Website"), _("Ardour Website"), mem_fun(*this, &ARDOUR_UI::launch_website));
|
||||||
|
ActionManager::register_action (common_actions, X_("Website_Dev"), _("Ardour Development"), mem_fun(*this, &ARDOUR_UI::launch_website_dev));
|
||||||
|
ActionManager::register_action (common_actions, X_("Forums"), _("User Forums"), mem_fun(*this, &ARDOUR_UI::launch_forums));
|
||||||
|
ActionManager::register_action (common_actions, X_("Howto_Report"), _("How to report a bug"), mem_fun(*this, &ARDOUR_UI::launch_howto_report));
|
||||||
|
|
||||||
act = ActionManager::register_action (common_actions, X_("Save"), _("Save"), sigc::bind (sigc::mem_fun(*this, &ARDOUR_UI::save_state), string(""), false));
|
act = ActionManager::register_action (common_actions, X_("Save"), _("Save"), sigc::bind (sigc::mem_fun(*this, &ARDOUR_UI::save_state), string(""), false));
|
||||||
ActionManager::session_sensitive_actions.push_back (act);
|
ActionManager::session_sensitive_actions.push_back (act);
|
||||||
|
Loading…
Reference in New Issue
Block a user