Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Ports
qupzilla-qt5
qupzilla-defaults.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qupzilla-defaults.patch of Package qupzilla-qt5
diff --git a/src/lib/app/browserwindow.cpp b/src/lib/app/browserwindow.cpp index 2b3106e..7d2b6c5 100644 --- a/src/lib/app/browserwindow.cpp +++ b/src/lib/app/browserwindow.cpp @@ -455,7 +455,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(); diff --git a/src/lib/data/data/bookmarks.json b/src/lib/data/data/bookmarks.json index a90338d..e676486 100644 --- a/src/lib/data/data/bookmarks.json +++ b/src/lib/data/data/bookmarks.json @@ -3,11 +3,44 @@ "bookmark_bar": { "children": [ { - "description": "Source code of QupZilla", - "keyword": "qz-git", - "name": "QupZilla Git", + "description": "", + "keyword": "", + "name": "openSUSE Project", "type": "url", - "url": "https://github.com/QupZilla/qupzilla", + "url": "https://www.opensuse.org/", + "visit_count": 0 + }, + { + "description": "", + "keyword": "", + "name": "QupZilla", + "type": "url", + "url": "http://www.qupzilla.com/", + "visit_count": 0 + } + ], + "description": "Bookmarks located in Bookmarks Toolbar", + "expanded": true, + "expanded_sidebar": true, + "name": "Bookmarks Toolbar", + "type": "folder" + }, + "bookmark_menu": { + "children": [ + { + "description": "QupZilla Homepage", + "keyword": "qz-home", + "name": "QupZilla Home", + "type": "url", + "url": "http://www.qupzilla.com/", + "visit_count": 0 + }, + { + "description": "Blog with development updates", + "keyword": "qz-blog", + "name": "QupZilla Blog", + "type": "url", + "url": "http://blog.qupzilla.com/", "visit_count": 0 }, { @@ -27,33 +60,14 @@ "visit_count": 0 }, { - "type": "separator" - }, - { - "description": "Blog with development updates", - "keyword": "qz-blog", - "name": "QupZilla Blog", - "type": "url", - "url": "http://blog.qupzilla.com/", - "visit_count": 0 - }, - { - "description": "QupZilla Homepage", - "keyword": "qz-home", - "name": "QupZilla Home", + "description": "Source code of QupZilla", + "keyword": "qz-git", + "name": "QupZilla Git", "type": "url", - "url": "http://www.qupzilla.com/", + "url": "https://github.com/QupZilla/qupzilla", "visit_count": 0 - } + } ], - "description": "Bookmarks located in Bookmarks Toolbar", - "expanded": true, - "expanded_sidebar": true, - "name": "Bookmarks Toolbar", - "type": "folder" - }, - "bookmark_menu": { - "children": [], "description": "Bookmarks located in Bookmarks Menu", "expanded": true, "expanded_sidebar": true, diff --git a/src/lib/data/icons.qrc b/src/lib/data/icons.qrc index 37b9285..58c2cda 100644 --- a/src/lib/data/icons.qrc +++ b/src/lib/data/icons.qrc @@ -49,6 +49,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> diff --git a/src/lib/opensearch/searchenginesmanager.cpp b/src/lib/opensearch/searchenginesmanager.cpp index 8f9281c..c8ae2cc 100644 --- a/src/lib/opensearch/searchenginesmanager.cpp +++ b/src/lib/opensearch/searchenginesmanager.cpp @@ -191,11 +191,27 @@ void SearchEnginesManager::restoreDefaults() google.url = "http://www.google.com/search?client=qupzilla&q=%s"; google.shortcut = "g"; google.suggestionsUrl = "http://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; diff --git a/src/lib/plugins/speeddial.cpp b/src/lib/plugins/speeddial.cpp index 9dd9035..f6d8e1f 100644 --- a/src/lib/plugins/speeddial.cpp +++ b/src/lib/plugins/speeddial.cpp @@ -64,10 +64,10 @@ void SpeedDial::loadSettings() 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\";" - "url:\"https://duckduckgo.com\"|title:\"DuckDuckGo\";"; + allPages = "url:\"https://duckduckgo.com\"|title:\"DuckDuckGo\";" + "url:\"http://www.opensuse.org\"|title:\"openSUSE Project\";" + "url:\"http://www.qupzilla.com\"|title:\"QupZilla\";" + "url:\"https://github.com/QupZilla/qupzilla\"|title:\"QupZilla GitHub\";"; } changed(allPages);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor