summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-22 23:36:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-22 23:36:52 +0300
commit2ce98c59d3b615955f29571f28933dd35c313653 (patch)
tree00e5783397ee12ccf6e947480854f7fc80bb7db8 /src/gui
parentde28a261768f008dd93827a4c684f2724b3b697f (diff)
downloadmanaplus-2ce98c59d3b615955f29571f28933dd35c313653.tar.gz
manaplus-2ce98c59d3b615955f29571f28933dd35c313653.tar.bz2
manaplus-2ce98c59d3b615955f29571f28933dd35c313653.tar.xz
manaplus-2ce98c59d3b615955f29571f28933dd35c313653.zip
Allow rename pet from context menu.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 7816b6887..7a4e9ae67 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -347,6 +347,10 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
mBrowserBox->addRow("pet unequip", _("Unequip"));
mBrowserBox->addRow("##3---");
// TRANSLATORS: popup menu item
+ // TRANSLATORS: pet rename item
+ mBrowserBox->addRow("/setpetname", _("Rename"));
+ mBrowserBox->addRow("##3---");
+ // TRANSLATORS: popup menu item
// TRANSLATORS: pet return to egg
mBrowserBox->addRow("pet to egg", _("Return to egg"));
mBrowserBox->addRow("##3---");