[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: any plans on improving tabbed browsing?
From:       Ladislav Strojil <Ladislav.Strojil () seznam ! cz>
Date:       2003-03-31 18:31:28
[Download RAW message or body]

On Monday 31 March 2003 20:19, Ladislav Strojil wrote:
> On Monday 31 March 2003 20:08, Zack Rusin wrote:
> > And therefore I just committed a fix. Test it out and let me know
> > whether it works like expected and whether you'd like to see a page
> > with a sign that says it's loading or just an empty page like in
> > Mozilla while the page is loading.
>
> Zack, you've just become my personal hero.
> And if you can backport this to the branch, I'll worship you till the end
> of my days.

This should work as a backport to KDE_3_1_BRANCH. Tested briefly and it seems 
to work. Please review and commit if appropriate.

Láïa

Index: konqueror/konq_mainwindow.cc
===================================================================
RCS file: /home/kde/kdebase/konqueror/konq_mainwindow.cc,v
retrieving revision 1.1083.2.11
diff -u -3 -p -r1.1083.2.11 konq_mainwindow.cc
--- konqueror/konq_mainwindow.cc        24 Mar 2003 06:17:11 -0000      
1.1083.2.11
+++ konqueror/konq_mainwindow.cc        31 Mar 2003 18:29:46 -0000
@@ -414,6 +414,12 @@ void KonqMainWindow::openURL( KonqView *
   KonqView *view = _view;
   if ( !view  && !req.newTab)
     view = m_currentView; /* Note, this can be 0L, e.g. on startup */
+  else if ( !view && req.newTab ) {
+    view = m_pViewManager->addTab(QString::null,
+                                  QString::null,
+                                  false
+                                  );
+  }

   if ( view )
   {



 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic