Context menu: Add "Keep Above Others" icon opposite of "Keep Below Others"

REVIEW:120465

(cherry picked from commit f8defc4c8f)
This commit is contained in:
Jeremy Whiting 2014-10-02 09:43:29 -06:00
parent 388a3162b0
commit edcf4d53ef

View file

@ -266,6 +266,7 @@ void UserActionsMenu::init()
m_resizeOperation->setData(Options::ResizeOp); m_resizeOperation->setData(Options::ResizeOp);
m_keepAboveOperation = advancedMenu->addAction(i18n("Keep &Above Others")); m_keepAboveOperation = advancedMenu->addAction(i18n("Keep &Above Others"));
m_keepAboveOperation->setIcon(QIcon::fromTheme(QStringLiteral("go-up")));
setShortcut(m_keepAboveOperation, QStringLiteral("Window Above Other Windows")); setShortcut(m_keepAboveOperation, QStringLiteral("Window Above Other Windows"));
m_keepAboveOperation->setCheckable(true); m_keepAboveOperation->setCheckable(true);
m_keepAboveOperation->setData(Options::KeepAboveOp); m_keepAboveOperation->setData(Options::KeepAboveOp);