mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 15:07:17 +08:00
29 lines
1.6 KiB
Diff
29 lines
1.6 KiB
Diff
--- src/lib/plugins/speeddial.cpp 2012-04-24 10:40:21.000000000 -0400
|
|
+++ src/lib/plugins/speeddial.cpp 2012-04-24 11:30:07.226119371 -0400
|
|
@@ -46,18 +46,17 @@
|
|
Settings settings;
|
|
settings.beginGroup("SpeedDial");
|
|
QString allPages = settings.value("pages", "").toString();
|
|
- m_backgroundImage = settings.value("background", "").toString();
|
|
- m_backgroundImageSize = settings.value("backsize", "auto").toString();
|
|
+ m_backgroundImage = settings.value("background", "file:///usr/share/icons/start-white.png").toString();
|
|
+ m_backgroundImageSize = settings.value("backsize", "contain").toString();
|
|
m_maxPagesInRow = settings.value("pagesrow", 4).toInt();
|
|
- m_sizeOfSpeedDials = settings.value("sdsize", 231).toInt();
|
|
+ m_sizeOfSpeedDials = settings.value("sdsize", 150).toInt();
|
|
settings.endGroup();
|
|
|
|
if (allPages.isEmpty()) {
|
|
- allPages = "url:\"http://www.google.com\"|title:\"Google\";"
|
|
- "url:\"http://www.qupzilla.com\"|title:\"QupZilla\";"
|
|
- "url:\"http://blog.qupzilla.com\"|title:\"QupZilla Blog\";"
|
|
- "url:\"https://github.com/QupZilla/qupzilla\"|title:\"QupZilla GitHub\";"
|
|
- "url:\"https://facebook.com\"|title:\"Facebook\";";
|
|
+ allPages = "url:\"http://www.chakra-linux.org\"|title:\"The Chakra Project - Welcome\";"
|
|
+ "url:\"http://www.chakra-project.org/bbs\"|title:\"Forums\";"
|
|
+ "url:\"http://webchat.freenode.net/?channels=chakra\"|title:\"IRC\";"
|
|
+ "url:\"http://www.youtube.com/html5\"|title:\"YouTube-html5\";";
|
|
}
|
|
changed(allPages);
|
|
|