[rekonq] New Tab open Home page?

Andrea Diamantini adjam7 at gmail.com
Sun Aug 23 11:53:44 CEST 2009


On Sunday 23 August 2009 11:19:35 Lionel Chauvin wrote:
> 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()));

Sure! 
That's the idea behind the comment added in the top of newTab definition.
Sorry for not having implemented it before merging. I'll do it ASAP!

-- 
Andrea Diamantini, adjam
GPG Fingerprint: 57DE 8E32 7D1A 0E16 AA52 59D8 84F9 3ECD DBF9 730F

rekonq project
WEB: http://rekonq.sourceforge.net
IRC: rekonq at freenode



More information about the rekonq mailing list