desktop/qupzilla/browserui.patch
2014-12-15 12:06:22 +00:00

65 lines
3.5 KiB
Diff

diff --git a/src/lib/app/browserwindow.cpp b/src/lib/app/browserwindow.cpp
index b9e51b3..bdecf2f 100644
--- a/src/lib/app/browserwindow.cpp
+++ b/src/lib/app/browserwindow.cpp
@@ -426,12 +426,12 @@ void BrowserWindow::loadSettings()
//Url settings
settings.beginGroup("Web-URL-Settings");
- m_homepage = settings.value("homepage", "qupzilla:start").toUrl();
+ m_homepage = settings.value("homepage", "http://chakraos.org/home/?welcome").toUrl();
settings.endGroup();
//Browser Window settings
settings.beginGroup("Browser-View-Settings");
- bool showStatusBar = settings.value("showStatusBar", true).toBool();
+ bool showStatusBar = settings.value("showStatusBar", false).toBool();
bool showReloadButton = settings.value("showReloadButton", true).toBool();
bool showHomeButton = settings.value("showHomeButton", true).toBool();
bool showBackForwardButtons = settings.value("showBackForwardButtons", true).toBool();
@@ -439,7 +439,7 @@ void BrowserWindow::loadSettings()
bool showWebSearchBar = settings.value("showWebSearchBar", true).toBool();
bool showBookmarksToolbar = settings.value("showBookmarksToolbar", true).toBool();
bool showNavigationToolbar = settings.value("showNavigationToolbar", true).toBool();
- bool showMenuBar = settings.value("showMenubar", true).toBool();
+ bool showMenuBar = settings.value("showMenubar", false).toBool();
bool makeTransparent = settings.value("useTransparentBackground", false).toBool();
m_sideBarWidth = settings.value("SideBarWidth", 250).toInt();
m_webViewWidth = settings.value("WebViewWidth", 2000).toInt();
@@ -449,7 +449,7 @@ void BrowserWindow::loadSettings()
// Fixes #781
if (!showNavigationToolbar) {
showMenuBar = true;
- settings.setValue("showMenubar", true);
+ settings.setValue("showMenubar", false);
}
settings.endGroup();
diff --git a/src/lib/plugins/speeddial.cpp b/src/lib/plugins/speeddial.cpp
index 753cf66..fdc891f 100644
--- a/src/lib/plugins/speeddial.cpp
+++ b/src/lib/plugins/speeddial.cpp
@@ -47,17 +47,18 @@ void SpeedDial::loadSettings()
Settings settings;
settings.beginGroup("SpeedDial");
QString allPages = settings.value("pages", QString()).toString();
- m_backgroundImage = settings.value("background", QString()).toString();
- m_backgroundImageSize = settings.value("backsize", "auto").toString();
+ m_backgroundImage = settings.value("file:///usr/share/pixmaps/start-white.png", QString()).toString();
+ m_backgroundImageSize = settings.value("backsize", "contain").toString();
m_maxPagesInRow = settings.value("pagesrow", 4).toInt();
m_sizeOfSpeedDials = settings.value("sdsize", 231).toInt();
m_sdcentered = settings.value("sdcenter", 0).toInt();
settings.endGroup();
if (allPages.isEmpty()) {
- allPages = "url:\"http://www.qupzilla.com\"|title:\"QupZilla\";"
- "url:\"http://blog.qupzilla.com\"|title:\"QupZilla Blog\";"
- "url:\"https://github.com/QupZilla/qupzilla\"|title:\"QupZilla GitHub\";"
+ allPages = "url:\"http://chakraos.org\"|title:\"The Chakra Project - Welcome\";"
+ "url:\"http://chakraos.org/forum\"|title:\"Forums\";"
+ "url:\"http://webchat.freenode.net/?channels=chakra\"|title:\"IRC\";"
+ "url:\"http://www.youtube.com/html5\"|title:\"YouTube-html5\";";
"url:\"https://duckduckgo.com\"|title:\"DuckDuckGo\";";
}
changed(allPages);