summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 23:16:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-31 02:57:08 +0300
commitdf348716dbdfec7ec7d1c721fb87d637063a10b8 (patch)
tree79fdc14eae7e789466197e0a065d96851fe18154 /src/gui/popupmenu.cpp
parent0888db384f3a7709e20dc83ffb968764fee41138 (diff)
downloadManaVerse-df348716dbdfec7ec7d1c721fb87d637063a10b8.tar.gz
ManaVerse-df348716dbdfec7ec7d1c721fb87d637063a10b8.tar.bz2
ManaVerse-df348716dbdfec7ec7d1c721fb87d637063a10b8.tar.xz
ManaVerse-df348716dbdfec7ec7d1c721fb87d637063a10b8.zip
Show full names in screen windows buttons context menu.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 50b2f5639..4d781f5ac 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -1882,15 +1882,15 @@ void PopupMenu::showPopup(const int x, const int y, Button *const button)
if (btn->isVisible())
{
- mBrowserBox->addRow(strprintf("@@hide button_%s|%s %s@@",
+ mBrowserBox->addRow(strprintf("@@hide button_%s|%s %s (%s)@@",
btn->getActionEventId().c_str(), _("Hide"),
- btn->getCaption().c_str()));
+ btn->getDescription().c_str(), btn->getCaption().c_str()));
}
else
{
- mBrowserBox->addRow(strprintf("@@show button_%s|%s %s@@",
+ mBrowserBox->addRow(strprintf("@@show button_%s|%s %s (%s)@@",
btn->getActionEventId().c_str(), _("Show"),
- btn->getCaption().c_str()));
+ btn->getDescription().c_str(), btn->getCaption().c_str()));
}
}
mBrowserBox->addRow("##3---");