summaryrefslogtreecommitdiffstats
path: root/redhat/kdebase/kdebase-3.5.13-konq_menu_tab_background.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/kdebase/kdebase-3.5.13-konq_menu_tab_background.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/kdebase/kdebase-3.5.13-konq_menu_tab_background.patch')
-rw-r--r--redhat/kdebase/kdebase-3.5.13-konq_menu_tab_background.patch160
1 files changed, 0 insertions, 160 deletions
diff --git a/redhat/kdebase/kdebase-3.5.13-konq_menu_tab_background.patch b/redhat/kdebase/kdebase-3.5.13-konq_menu_tab_background.patch
deleted file mode 100644
index 483b259c1..000000000
--- a/redhat/kdebase/kdebase-3.5.13-konq_menu_tab_background.patch
+++ /dev/null
@@ -1,160 +0,0 @@
-diff -urN /dev/shm/kdebase/kcontrol/konqhtml/advancedTabDialog.cpp /dev/shm/kdebase.new/kcontrol/konqhtml/advancedTabDialog.cpp
---- kdebase/kcontrol/konqhtml/advancedTabDialog.cpp 2011-03-12 00:57:45.000000000 -0600
-+++ kdebase.new/kcontrol/konqhtml/advancedTabDialog.cpp 2011-12-03 17:25:40.297586593 -0600
-@@ -58,7 +58,6 @@
- layout->addSpacing( 20 );
- layout->addStretch();
-
-- connect(m_advancedWidget->m_pNewTabsInBackground, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
- connect(m_advancedWidget->m_pOpenAfterCurrentPage, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
- connect(m_advancedWidget->m_pTabConfirm, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
- connect(m_advancedWidget->m_pTabCloseActivatePrevious, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
-@@ -76,7 +75,6 @@
- void advancedTabDialog::load()
- {
- m_pConfig->setGroup("FMSettings");
-- m_advancedWidget->m_pNewTabsInBackground->setChecked( ! (m_pConfig->readBoolEntry( "NewTabsInFront", false )) );
- m_advancedWidget->m_pOpenAfterCurrentPage->setChecked( m_pConfig->readBoolEntry( "OpenAfterCurrentPage", false ) );
- m_advancedWidget->m_pPermanentCloseButton->setChecked( m_pConfig->readBoolEntry( "PermanentCloseButton", false ) );
- m_advancedWidget->m_pKonquerorTabforExternalURL->setChecked( m_pConfig->readBoolEntry( "KonquerorTabforExternalURL", false ) );
-@@ -92,7 +90,6 @@
- void advancedTabDialog::save()
- {
- m_pConfig->setGroup("FMSettings");
-- m_pConfig->writeEntry( "NewTabsInFront", !(m_advancedWidget->m_pNewTabsInBackground->isChecked()) );
- m_pConfig->writeEntry( "OpenAfterCurrentPage", m_advancedWidget->m_pOpenAfterCurrentPage->isChecked() );
- m_pConfig->writeEntry( "PermanentCloseButton", m_advancedWidget->m_pPermanentCloseButton->isChecked() );
- m_pConfig->writeEntry( "KonquerorTabforExternalURL", m_advancedWidget->m_pKonquerorTabforExternalURL->isChecked() );
-diff -urN /dev/shm/kdebase/kcontrol/konqhtml/advancedTabOptions.ui /dev/shm/kdebase.new/kcontrol/konqhtml/advancedTabOptions.ui
---- kdebase/kcontrol/konqhtml/advancedTabOptions.ui 2011-03-12 00:57:45.000000000 -0600
-+++ kdebase.new/kcontrol/konqhtml/advancedTabOptions.ui 2011-12-03 17:24:25.987334444 -0600
-@@ -51,17 +51,6 @@
- </property>
- <widget class="TQCheckBox">
- <property name="name">
-- <cstring>m_pNewTabsInBackground</cstring>
-- </property>
-- <property name="text">
-- <string>O&amp;pen new tabs in the background</string>
-- </property>
-- <property name="whatsThis" stdset="0">
-- <string>This will open a new tab in the background, instead of in the foreground.</string>
-- </property>
-- </widget>
-- <widget class="TQCheckBox">
-- <property name="name">
- <cstring>m_pOpenAfterCurrentPage</cstring>
- </property>
- <property name="text">
-diff -urN /dev/shm/kdebase/konqueror/konq_guiclients.cc /dev/shm/kdebase.new/konqueror/konq_guiclients.cc
---- kdebase/konqueror/konq_guiclients.cc 2011-08-11 00:25:53.000000000 -0500
-+++ kdebase.new/konqueror/konq_guiclients.cc 2011-12-03 17:24:25.987334444 -0600
-@@ -104,8 +104,8 @@
- 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 @@
- 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 );
-diff -urN /dev/shm/kdebase/konqueror/konq_mainwindow.cc /dev/shm/kdebase.new/konqueror/konq_mainwindow.cc
---- kdebase/konqueror/konq_mainwindow.cc 2011-08-20 02:14:06.000000000 -0500
-+++ kdebase.new/konqueror/konq_mainwindow.cc 2011-12-03 17:24:25.994334609 -0600
-@@ -2726,15 +2726,23 @@
- openURL( 0L, popupItems.getFirst()->url() );
- }
-
-+void KonqMainWindow::slotPopupNewTabAtFront()
-+{
-+ KConfig *config = KGlobal::config();
-+ KConfigGroupSaver cs( config, TQString::fromLatin1("FMSettings") );
-+ bool openAfterCurrentPage = config->readBoolEntry( "OpenAfterCurrentPage", false );
-+ popupNewTab(true, openAfterCurrentPage);
-+}
-+
- void KonqMainWindow::slotPopupNewTab()
- {
- bool openAfterCurrentPage = KonqSettings::openAfterCurrentPage();
- bool newTabsInFront = KonqSettings::newTabsInFront();
-
-- if (KApplication::keyboardMouseState() & TQt::ShiftButton)
-+ if (KApplication::keyboardMouseState() & ShiftButton)
- newTabsInFront = !newTabsInFront;
-
-- popupNewTab(newTabsInFront, openAfterCurrentPage);
-+ popupNewTab(false, openAfterCurrentPage);
- }
-
- void KonqMainWindow::slotPopupNewTabRight()
-@@ -2754,17 +2762,13 @@
- KFileItemListIterator it ( popupItems );
- KonqOpenURLRequest req;
- req.newTab = true;
-- req.newTabInFront = false;
-+ req.newTabInFront = infront;
- req.openAfterCurrentPage = openAfterCurrentPage;
- req.args = popupUrlArgs;
-
- for ( ; it.current(); ++it )
- {
-- if ( infront && it.atLast() )
-- {
-- req.newTabInFront = true;
-- }
-- openURL( 0L, (*it)->url(), TQString::null, req );
-+ openURL( 0L, (*it)->url(), QString::null, req );
- }
- }
-
-@@ -3926,7 +3930,7 @@
- reloadShortcut.append(KKey(CTRL + Key_R));
- m_paReload = new KAction( i18n( "&Reload" ), "reload", reloadShortcut, TQT_TQOBJECT(this), TQT_SLOT( slotReload() ), actionCollection(), "reload" );
- m_paReloadAllTabs = new KAction( i18n( "&Reload All Tabs" ), "reload_all_tabs", SHIFT+Key_F5, TQT_TQOBJECT(this), TQT_SLOT( slotReloadAllTabs() ), actionCollection(), "reload_all_tabs" );
--
-+
- m_paReloadStop = new KAction( i18n( "&Reload/Stop" ), "reload", 0, TQT_TQOBJECT(this), TQT_SLOT( slotReloadStop() ), actionCollection(), "reload_stop" );
-
- m_paUndo = KStdAction::undo( KonqUndoManager::self(), TQT_SLOT( undo() ), actionCollection(), "undo" );
-@@ -4782,8 +4786,14 @@
- else
- tab_new_x = "tab_new_bg" ;
-
-- actNewTab = new KAction( i18n( "Open in &New Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), konqyMenuClient->actionCollection(), "openintab" );
-- actNewTab->setToolTip( i18n( "Open the document in a new tab" ) );
-+ KAction *actNewTab = new KAction( i18n( "Open in &Background Tab" ), "tab_new_bg", 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), actionCollection(), "openintab" );
-+ actNewTab->setStatusText( i18n( "Open the document in a new background tab" ) );
-+ KAction *actNewTabFront = new KAction( i18n( "Open in &New Tab" ), "tab_new", 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTabAtFront() ), actionCollection(), "openintabfront" );
-+ actNewTabFront->setStatusText( i18n( "Open the document in a new foreground tab" ) );
-+ actNewTab = new KAction( i18n( "Open in &Background Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), konqyMenuClient->actionCollection(), "openintab" );
-+ actNewTabFront = new KAction( i18n( "Open in &New Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTabAtFront() ), konqyMenuClient->actionCollection(), "openintabfront" );
-+ actNewTab->setToolTip( i18n( "Open the document in a new background tab" ) );
-+ actNewTabFront->setToolTip( i18n( "Open the document in a new foreground tab" ) );
- doTabHandling = true;
- }
-
-diff -urN /dev/shm/kdebase/konqueror/konq_mainwindow.h /dev/shm/kdebase.new/konqueror/konq_mainwindow.h
---- kdebase/konqueror/konq_mainwindow.h 2011-03-12 00:58:18.000000000 -0600
-+++ kdebase.new/konqueror/konq_mainwindow.h 2011-12-03 17:24:25.995334564 -0600
-@@ -444,6 +444,7 @@
- void slotPopupNewWindow();
- void slotPopupThisWindow();
- void slotPopupNewTab();
-+ void slotPopupNewTabAtFront();
- void slotPopupNewTabRight();
- void slotPopupPasteTo();
- void slotRemoveView();