┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-10-07 18:25:47 +0000
committerPeter Penz <[email protected]>2010-10-07 18:25:47 +0000
commit6c8c052b3ffa628fd99f4e4d726017e2fc8e0e1d (patch)
treec46f26a71aa59b8985b35f4c7044d436b23edfa6
parentf60340508be4f562d52007a88a55d6dacbe7518e (diff)
Use the actions "new_tab" and "new_window" for the viewport-contextmenu instead of "open_in_new_tab" and "open_in_new_window", as the current selection should get ignored.
svn path=/trunk/KDE/kdebase/apps/; revision=1183548
-rw-r--r--src/dolphincontextmenu.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index 8913468e6..ae5bf8698 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -321,9 +321,10 @@ void DolphinContextMenu::openViewportContextMenu()
m_popup->addMenu(newFileMenu->menu());
m_popup->addSeparator();
- // insert 'Open in new window' and 'Open in new tab' entries
- m_popup->addAction(m_mainWindow->actionCollection()->action("open_in_new_window"));
- m_popup->addAction(m_mainWindow->actionCollection()->action("open_in_new_tab"));
+ // Insert 'New Window' and 'New Tab' entries. Don't use "open_in_new_window" and
+ // "open_in_new_tab" here, as the current selection should get ignored.
+ m_popup->addAction(m_mainWindow->actionCollection()->action("new_window"));
+ m_popup->addAction(m_mainWindow->actionCollection()->action("new_tab"));
m_popup->addSeparator();
QAction* pasteAction = createPasteAction();