From df348716dbdfec7ec7d1c721fb87d637063a10b8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 23:16:35 +0300 Subject: Show full names in screen windows buttons context menu. --- src/gui/popupmenu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/popupmenu.cpp') 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---"); -- cgit v1.2.3-60-g2f50