• Nate Graham's avatar
    Move "Open" actions to the top of the context menu for files · b9143a55
    Nate Graham authored
    This patch moves the "Open", "Open With", and "Open in" items to the top of the context menu to reap the following benefits:
    - Move the "Open" and "Open With" items closer to the top since they're commonly used items, and right now they're buried in the middle of the menu
    - Group related functionality
    - Consistency with other common platforms (macOS Finder and Windows Explorer both have these items at the top of the context menu)
    For folders, the "Open With" entries are moved higher, but not all the way to the top, since the "open in New tab/folder" entries are more useful.
    Test Plan:
    Tested all menu items in the context menu for files, folders, and links; all still work.
    Context menu for single file:
    Context menu for multiple files:
    Context menu for single folder:
    Context menu for multiple folders:
    Context menu for symlink to folder:
    Reviewers: #dolphin, #vdg, elvisangelaccio, abetts
    Reviewed By: #dolphin, #vdg, elvisangelaccio, abetts
    Subscribers: markg, abetts, elvisangelaccio
    Differential Revision: https://phabricator.kde.org/D11884
dolphincontextmenu.cpp 19.3 KB