summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 23:59:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 23:59:36 +0300
commit1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a (patch)
treeedc73443a83b5e3b59147c4fbe27ccaa8eb311b5 /src/input
parent5b4e74ab44a2ae4eab9db71c860885802e2ba28d (diff)
downloadmanaverse-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.tar.gz
manaverse-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.tar.bz2
manaverse-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.tar.xz
manaverse-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.zip
Remove popup handler "clear drops".
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h5
-rw-r--r--src/input/pages/windows.cpp6
3 files changed, 12 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 694647a93..63f351706 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -534,6 +534,7 @@ namespace InputAction
CHAT_GM_TAB,
CHAT_PARTY_TAB,
CHAT_GUILD_TAB,
+ DROP_CLEAR,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 2235daba4..030600a38 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3964,6 +3964,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"guildtab|guildchattab",
false},
+ {"keyDropClear",
+ defaultAction(&Actions::clearDrop),
+ InputCondition::INGAME,
+ "cleardrops|cleardrop|cleardropwindow|dropclear|dropsclear",
+ false},
};
#undef defaultAction
diff --git a/src/input/pages/windows.cpp b/src/input/pages/windows.cpp
index ff646ded0..41a538326 100644
--- a/src/input/pages/windows.cpp
+++ b/src/input/pages/windows.cpp
@@ -236,6 +236,12 @@ SetupActionData setupActionDataWindows[] =
"",
},
{
+ // TRANSLATORS: input action name
+ N_("Clear drops window"),
+ InputAction::DROP_CLEAR,
+ "",
+ },
+ {
"",
InputAction::NO_VALUE,
""