File qupzilla-defaults.patch of Package qupzilla
--- a/src/lib/data/data/bookmarks.json
+++ b/src/lib/data/data/bookmarks.json
@@ -3,6 +3,14 @@
"bookmark_bar": {
"children": [
{
+ "description": "",
+ "keyword": "",
+ "name": "openSUSE Project",
+ "type": "url",
+ "url": "https://www.opensuse.org/",
+ "visit_count": 0
+ },
+ {
"description": "Source code of QupZilla",
"keyword": "qz-git",
"name": "QupZilla Git",
--- a/src/lib/data/icons.qrc
+++ b/src/lib/data/icons.qrc
@@ -48,6 +48,8 @@
<file>icons/sites/google.png</file>
<file>icons/sites/liferea.png</file>
<file>icons/sites/netvibes.png</file>
+ <file>icons/sites/obs.png</file>
+ <file>icons/sites/opensusesoftware.png</file>
<file>icons/sites/translate.png</file>
<file>icons/sites/wikipedia.png</file>
<file>icons/sites/yahoo.png</file>
--- a/src/lib/opensearch/searchenginesmanager.cpp
+++ b/src/lib/opensearch/searchenginesmanager.cpp
@@ -187,10 +187,26 @@ void SearchEnginesManager::restoreDefaul
google.shortcut = "g";
google.suggestionsUrl = "https://suggestqueries.google.com/complete/search?output=firefox&q=%s";
+ Engine oSSoftware;
+ oSSoftware.name = "openSUSE Software";
+ oSSoftware.icon = QIcon(":icons/sites/opensusesoftware.png");
+ oSSoftware.url = "http://software.opensuse.org/search?q=%s";
+ oSSoftware.shortcut = "s";
+ oSSoftware.suggestionsUrl = "";
+
+ Engine obs;
+ obs.name = "openSUSE Build Service";
+ obs.icon = QIcon(":icons/sites/obs.png");
+ obs.url = "https://build.opensuse.org/search?search_text=%s";
+ obs.shortcut = "rpm";
+ obs.suggestionsUrl = "";
+
addEngine(duck);
addEngine(sp);
addEngine(wiki);
addEngine(google);
+ addEngine(oSSoftware);
+ addEngine(obs);
m_defaultEngine = duck;
--- a/src/lib/plugins/speeddial.cpp
+++ b/src/lib/plugins/speeddial.cpp
@@ -63,10 +63,10 @@ void SpeedDial::loadSettings()
settings.endGroup();
if (allPages.isEmpty()) {
- allPages = "url:\"https://www.qupzilla.com\"|title:\"QupZilla\";"
- "url:\"http://blog.qupzilla.com\"|title:\"QupZilla Blog\";"
- "url:\"https://github.com/QupZilla/qupzilla\"|title:\"QupZilla GitHub\";"
- "url:\"https://duckduckgo.com\"|title:\"DuckDuckGo\";";
+ allPages = "url:\"https://duckduckgo.com\"|title:\"DuckDuckGo.com\";"
+ "url:\"https://www.opensuse.org\"|title:\"openSUSE Project\";"
+ "url:\"https://qupzilla.com\"|title:\"QupZilla\";"
+ "url:\"https://github.com/QupZilla/qupzilla\"|title:\"QupZilla GitHub\";";
}
changed(allPages);