D26043: Add edit mode menu item to desktop widget context menu
Kai Uwe Broulik
noreply at phabricator.kde.org
Tue Dec 17 09:01:03 GMT 2019
broulik added inline comments.
INLINE COMMENTS
> containmentinterface.cpp:1128
> + desktopMenu->addSeparator();
> + if (m_containment->containmentType() == Plasma::Types::DesktopContainment) {
> + desktopMenu->addAction(m_containment->corona()->actions()->action(QStringLiteral("edit mode")));
Please check `m_containment->immutability()` so we don't add this if widgets are locked
REPOSITORY
R242 Plasma Framework (Library)
REVISION DETAIL
https://phabricator.kde.org/D26043
To: GB_2, #plasma, #vdg, mart
Cc: broulik, mart, #vdg, kde-frameworks-devel, #plasma, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191217/0bbebf48/attachment.html>
More information about the Kde-frameworks-devel
mailing list