summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_guiclients.cc
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-03-07 17:46:51 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 03:26:56 +0200
commitcd755d41df6947ee56af3d77c136eca6468e3ba6 (patch)
treeae00d3160c4c9deee0f3d2eacde86886cc7ca7b9 /konqueror/konq_guiclients.cc
parenta7dff39a3f3b09ae2ac98dfec0b4386de053b3a1 (diff)
downloadtdebase-cd755d41df6947ee56af3d77c136eca6468e3ba6.tar.gz
tdebase-cd755d41df6947ee56af3d77c136eca6468e3ba6.zip
Restore Open in background tab context menu.
This closes bug report 245. (cherry picked from commit 769054446b8e43589e94869240e8642e5b93e9df)
Diffstat (limited to 'konqueror/konq_guiclients.cc')
-rw-r--r--konqueror/konq_guiclients.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/konqueror/konq_guiclients.cc b/konqueror/konq_guiclients.cc
index caf909d68..5a9742ae4 100644
--- a/konqueror/konq_guiclients.cc
+++ b/konqueror/konq_guiclients.cc
@@ -104,8 +104,8 @@ PopupMenuGUIClient::PopupMenuGUIClient( KonqMainWindow *mainWindow,
openInSameWindow.setAttribute( "name", "sameview" );
openInSameWindow.setAttribute( "group", "tabhandling" );
menu.appendChild( openInSameWindow );
-
- TQDomElement openInWindow = m_doc.createElement( "action" );
+
+ TQDomElement openInWindow = m_doc.createElement( "action" );
openInWindow.setAttribute( "name", "newview" );
openInWindow.setAttribute( "group", "tabhandling" );
menu.appendChild( openInWindow );
@@ -115,6 +115,11 @@ PopupMenuGUIClient::PopupMenuGUIClient( KonqMainWindow *mainWindow,
openInTabElement.setAttribute( "group", "tabhandling" );
menu.appendChild( openInTabElement );
+ TQDomElement openInTabFrontElement = m_doc.createElement( "action" );
+ openInTabFrontElement.setAttribute( "name", "openintabfront" );
+ openInTabFrontElement.setAttribute( "group", "tabhandling" );
+ menu.appendChild( openInTabFrontElement );
+
TQDomElement separatorElement = m_doc.createElement( "separator" );
separatorElement.setAttribute( "group", "tabhandling" );
menu.appendChild( separatorElement );