Группа :: Графические оболочки/KDE
Пакет: kdebase
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: kdebase-3.2.3-starthere-ALT.patch
--- kdebase-3.2.3/konqueror/konq_misc.cc~ 2004-07-02 10:55:39 +0400
+++ kdebase-3.2.3/konqueror/konq_misc.cc 2004-07-02 10:58:43 +0400
@@ -155,6 +155,10 @@ KonqMainWindow * KonqMisc::createBrowser
QString KonqMisc::konqFilteredURL( QWidget* parent, const QString& _url, const QString& _path )
{
+
+ if ( _url.startsWith( "start-here:" ) )
+ return "programs:/";
+
if ( !_url.startsWith( "about:" ) ) // Don't filter "about:" URLs
{
KURIFilterData data = _url;
--- kdebase-3.2.3/konqueror/konq_mainwindow.cc~ 2004-07-02 16:29:37 +0400
+++ kdebase-3.2.3/konqueror/konq_mainwindow.cc 2004-07-02 16:36:46 +0400
@@ -459,7 +459,7 @@ void KonqMainWindow::openURL( KonqView *
kdDebug(1202) << "KonqMainWindow::openURL : url = '" << _url.url() << "' "
<< "serviceType='" << _serviceType << "' view=" << _view << endl;
- KURL url( _url );
+ KURL url( _url.url().startsWith( "start-here:" ) ? KURL("programs:/") : _url );
QString serviceType( _serviceType );
if ( url.url() == "about:blank" )
{