Bhushan Shah has uploaded a new change for review. https://gerrit.vesnicky.cesnet.cz/r/301
Change subject: Add HiddenAction in Plasma::Types::ActionType ...................................................................... Add HiddenAction in Plasma::Types::ActionType This is to hide actions from menu or toolbox but still having action enabled. Setting visible property to false disables it and hence global shortcut to. This is clean solution to hide action and as well as keeping it up to date. CCBUG: 342186 Change-Id: Ib4e310ba0ebdfcef90e38be542b38f613a6188fa --- M src/plasma/plasma.h 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.vesnicky.cesnet.cz:29418/plasma-framework refs/changes/01/301/1 diff --git a/src/plasma/plasma.h b/src/plasma/plasma.h index 15c346b..3ad6327 100644 --- a/src/plasma/plasma.h +++ b/src/plasma/plasma.h @@ -113,7 +113,8 @@ ControlAction = 200, /** Generic control, similar to ConfigureAction TODO: better doc */ MiscAction = 300, /** A type of action that doesn't fit in the oher categories */ DestructiveAction = 400, /** A dangerous action, such as deletion of objects, plasmoids and files. They are intended to be shown separed from other actions */ - UserAction = DestructiveAction + 1000 /** If new types are needed in a C++ implementation, define them as ids more than UserAction*/ + HiddenAction = 500, /** This can be used to have hidden from view but enabled action */ + UserAction = HiddenAction + 1000 /** If new types are needed in a C++ implementation, define them as ids more than UserAction*/ }; Q_ENUMS(ActionType) -- To view, visit https://gerrit.vesnicky.cesnet.cz/r/301 To unsubscribe, visit https://gerrit.vesnicky.cesnet.cz/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib4e310ba0ebdfcef90e38be542b38f613a6188fa Gerrit-PatchSet: 1 Gerrit-Project: plasma-framework Gerrit-Branch: master Gerrit-Owner: Bhushan Shah <bhus...@gmail.com> Gerrit-Reviewer: Kevin Ottens <er...@kde.org> _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel