summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index a18c2c0f7..36651b01e 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1109,6 +1109,9 @@ int Client::gameExec()
ADDBUTTON(mThemesButton, new Button(mDesktop,
// TRANSLATORS: theme tab quick button
_("Theme"), "Themes", this))
+ ADDBUTTON(mThemesButton, new Button(mDesktop,
+ // TRANSLATORS: theme tab quick button
+ _("Help"), "help", this))
#ifdef ANDROID
ADDBUTTON(mCloseButton, new Button(mDesktop,
// TRANSLATORS: close quick button
@@ -1796,15 +1799,30 @@ void Client::action(const gcn::ActionEvent &event)
return;
}
if (eventId == "Setup")
+ {
tab.clear();
+ }
+ else if (eventId == "help")
+ {
+ inputManager.executeAction(Input::KEY_WINDOW_HELP);
+ return;
+ }
else if (eventId == "Video")
+ {
tab = "Video";
+ }
else if (eventId == "Themes")
+ {
tab = "Theme";
+ }
else if (eventId == "Perfomance")
+ {
tab = "Perfomance";
+ }
else
+ {
return;
+ }
if (setupWindow)
{