From 9d580a628feb8bc2e2a7104ffb81bc799bdb2e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 19 May 2015 08:37:13 +0200 Subject: [PATCH] Use screen name as additional information in UseractionsMenu New format: Screen 1 (HDMI1) REVIEW: 123849 --- useractions.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/useractions.cpp b/useractions.cpp index a5c7f786fe..9240de83e2 100644 --- a/useractions.cpp +++ b/useractions.cpp @@ -652,10 +652,9 @@ void UserActionsMenu::screenPopupAboutToShow() QActionGroup *group = new QActionGroup(m_screenMenu); for (int i = 0; icount(); ++i) { - // TODO: retrieve the screen name? // assumption: there are not more than 9 screens attached. - QAction *action = m_screenMenu->addAction(i18nc("@item:inmenu List of all Screens to send a window to", - "Screen &%1", (i+1))); + QAction *action = m_screenMenu->addAction(i18nc("@item:inmenu List of all Screens to send a window to. First argument is a number, second the output identifier. E.g. Screen 1 (HDMI1)", + "Screen &%1 (%2)", (i+1), screens()->name(i))); action->setData(i); action->setCheckable(true); if (!m_client.isNull() && i == m_client.data()->screen()) {