1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

New browser defaults: Falkon and KDE links in bookmarks and speed dial

This commit is contained in:
Javier Llorente 2023-04-19 12:48:02 +02:00 committed by Juraj Oravec
parent e8c900b494
commit 07345f0c78
2 changed files with 22 additions and 1 deletions

View File

@ -9,7 +9,24 @@
"type": "folder" "type": "folder"
}, },
"bookmark_menu": { "bookmark_menu": {
"children": [], "children": [
{
"description": "",
"keyword": "falkon",
"name": "Falkon",
"type": "url",
"url": "https://www.falkon.org/",
"visit_count": 0
},
{
"description": "",
"keyword": "kde",
"name": "KDE Community",
"type": "url",
"url": "https://www.kde.org/",
"visit_count": 0
}
],
"description": "Bookmarks located in Bookmarks Menu", "description": "Bookmarks located in Bookmarks Menu",
"expanded": true, "expanded": true,
"expanded_sidebar": true, "expanded_sidebar": true,

View File

@ -62,6 +62,10 @@ void SpeedDial::loadSettings()
m_sdcentered = settings.value("sdcenter", false).toBool(); m_sdcentered = settings.value("sdcenter", false).toBool();
settings.endGroup(); settings.endGroup();
if (allPages.isEmpty()) {
allPages = "url:\"https://www.falkon.org\"|title:\"Falkon\";"
"url:\"https://www.kde.org\"|title:\"KDE Community\";";
}
changed(allPages); changed(allPages);
m_thumbnailsDir = DataPaths::currentProfilePath() + "/thumbnails/"; m_thumbnailsDir = DataPaths::currentProfilePath() + "/thumbnails/";