┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.cpp
diff options
context:
space:
mode:
authorIlya Bizyaev <[email protected]>2020-02-11 14:36:19 +0300
committerIlya Bizyaev <[email protected]>2020-02-12 18:58:47 +0300
commit402f7f3041d45d8c5969f3bc202fe9156891cd2e (patch)
tree74603188ecb0b108614446bd73dc635762eefb3d /src/dolphincontextmenu.cpp
parent2c29c7ed28f7389ec79907760311fce3a26622c2 (diff)
Swap "Open in New Window" and "Open in New Tab" in context menus
Summary: Since Dolphin's default behaviour became opening in new tabs rather than in new windows (a very positive change, in my opinion), I always find myself accidentally opening folders in new windows from the context menu. This is because in most browsers with tab workflow (e.g. Firefox, Chromium, Falkon) the top context menu action is opening in a new tab, and my muscle memory plays a bad trick :) I'm aware of middle-clicking, but I find it inconvenient with my touchpad. I suspect I'm probably not alone in that, so I think it makes sense to swap these actions in Dolphin to match widely used apps. Test Plan: Open Dolphin, right click folders in the main view and in the Places panel, ensure the actions are indeed swapped Reviewers: #vdg, ndavis, #dolphin, ngraham Reviewed By: #vdg, ndavis, #dolphin, ngraham Subscribers: ngraham, ndavis, kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D27318
Diffstat (limited to 'src/dolphincontextmenu.cpp')
-rw-r--r--src/dolphincontextmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index ca0f5e32f..79143d400 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -194,8 +194,8 @@ void DolphinContextMenu::addDirectoryItemContextMenu(KFileItemActions &fileItemA
const KFileItemListProperties& selectedItemsProps = selectedItemsProperties();
- addAction(m_mainWindow->actionCollection()->action(QStringLiteral("open_in_new_window")));
addAction(m_mainWindow->actionCollection()->action(QStringLiteral("open_in_new_tab")));
+ addAction(m_mainWindow->actionCollection()->action(QStringLiteral("open_in_new_window")));
// Insert 'Open With' entries
addOpenWithActions(fileItemActions);