[rekonq] New Tab open Home page?
Lionel Chauvin
megabigbug at yahoo.fr
Sun Aug 23 11:19:35 CEST 2009
Le dimanche 23 août 2009 10:58:07, Lindsay Mathieson a écrit :
> On Sun, 23 Aug 2009 05:51:33 pm Andrea Diamantini wrote:
> > On Sunday 23 August 2009 02:15:58 Lindsay Mathieson wrote:
> > > Now that 0.2 is out, is the new config option and behaviour patch I
> > > created acceptable? (Open a new Tab opened the home page, rather than
> > > blank)
> >
> > Sure!
>
> Thanks! Attached (is that the right submission method for patches?)
In this way, when you middle click on a link, it will attempt to load home
page before load link page.
In mainwindow:
actionCollection()->addAction(QLatin1String("new_tab"), a);
connect(a, SIGNAL(triggered(bool)), m_view, SLOT(newTab()));
I think this connect must be redirected to a method containing:
m_view->newTab();
if (ReKonfig::newTabsOpenHomePage())
webView->load(QUrl(ReKonfig::homePage()));
More information about the rekonq
mailing list