diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 23:16:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-31 02:57:08 +0300 |
commit | df348716dbdfec7ec7d1c721fb87d637063a10b8 (patch) | |
tree | 79fdc14eae7e789466197e0a065d96851fe18154 /src | |
parent | 0888db384f3a7709e20dc83ffb968764fee41138 (diff) | |
download | manaplus-df348716dbdfec7ec7d1c721fb87d637063a10b8.tar.gz manaplus-df348716dbdfec7ec7d1c721fb87d637063a10b8.tar.bz2 manaplus-df348716dbdfec7ec7d1c721fb87d637063a10b8.tar.xz manaplus-df348716dbdfec7ec7d1c721fb87d637063a10b8.zip |
Show full names in screen windows buttons context menu.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/popupmenu.cpp | 8 |
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---"); |