From 19cc936f19c708e3adb07b1d201600cf027bfb6b Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 23 Aug 2009 11:03:44 +0200 Subject: Applied Lindsay's patch about opening Home Page in new tabs and changed a bit General UI --- src/mainview.cpp | 5 +++++ src/rekonq.kcfg | 3 +++ src/settings_general.ui | 15 +++++++++++---- 3 files changed, 19 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/mainview.cpp b/src/mainview.cpp index 3eca9ef5..5f0afa5c 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -339,6 +339,11 @@ WebView *MainView::newTab(bool focused) showTabBar(); addTabButtonPosition(); + + if (ReKonfig::newTabsOpenHomePage()) + { + webView->load(QUrl(ReKonfig::homePage())); + } return webView; } diff --git a/src/rekonq.kcfg b/src/rekonq.kcfg index ec2b9a3b..d9ccd3e0 100644 --- a/src/rekonq.kcfg +++ b/src/rekonq.kcfg @@ -23,6 +23,9 @@ false + + false + true diff --git a/src/settings_general.ui b/src/settings_general.ui index d40dff99..23904354 100644 --- a/src/settings_general.ui +++ b/src/settings_general.ui @@ -17,10 +17,10 @@ - Places + Home Page - + Home page: @@ -30,7 +30,7 @@ - + @@ -40,7 +40,7 @@ - + @@ -64,6 +64,13 @@ + + + + New Tabs open Home Page + + + -- cgit v1.2.1