summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-22 21:26:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-22 21:26:32 +0300
commit70f7db29f291ea22e6dca7c03540beded7ec7bf8 (patch)
treef8acd516a552ad34fcf8f4d84169d90e001f55ad /src/gui/popups/popupmenu.cpp
parent1e7d0d8e9873283a0ec09a62e579b718c3c06e51 (diff)
downloadplus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.gz
plus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.bz2
plus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.tar.xz
plus-70f7db29f291ea22e6dca7c03540beded7ec7bf8.zip
Add chat command for feed homunculus.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 15fcc34cb..b13a2c374 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -358,7 +358,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
_("Move to master"));
// TRANSLATORS: popup menu item
// TRANSLATORS: feed homunculus
- mBrowserBox->addRow("homunculus feed", _("Feed"));
+ mBrowserBox->addRow("/homunculusfeed", _("Feed"));
mBrowserBox->addRow("##3---");
// TRANSLATORS: popup menu item
// TRANSLATORS: pet rename item
@@ -1297,10 +1297,6 @@ void PopupMenu::handleLink(const std::string &link,
if (chat != nullptr)
chatHandler->joinChat(chat, "");
}
- else if (link == "homunculus feed")
- {
- homunculusHandler->feed();
- }
else if (link == "homunculus delete")
{
homunculusHandler->fire();