┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/itemactions/CMakeLists.txt
AgeCommit message (Collapse)Author
2025-09-22itemactions: Add context menu actions to hide and unhide files using .hiddenKostiantin Korchuhanov
Summary: This patch introduces context menu actions that allow users to hide or unhide selected files by editing the .hidden file in their parent directories. What this patch does: - Implemented HideFileItemAction plugin based on KAbstractFileItemActionPlugin - Plugin is disabled by default unless explicitly enabled in kservicemenurc via the hidefileitemaction key - "Hide" action adds selected file names to the .hidden file, avoiding duplicates - "Unhide" action removes selected file names from the .hidden file - Action visibility logic: - If only visible or only hidden files are selected, only the relevant action is shown - If both are selected, both "Hide" and "Unhide" actions are shown - Write permission checks ensure actions are disabled if the .hidden file cannot be modified - Optimized redundant path computations by calculating parent directory and .hidden file paths once and reusing them
2025-06-09Add a SetFolderIcon ItemAction pluginMéven Car
To allow to change folder icon from the context menu. CCBUG: 467221