mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Small improvement in speed dial, added DuckDuckGo default search engine.
- also fixed bad spanish qt translation (qt_es.qm) - closes #195
This commit is contained in:
parent
f29bab10c6
commit
1211018c2f
Binary file not shown.
|
@ -316,10 +316,13 @@ function bgImageSel() {
|
|||
function saveSettings() {
|
||||
var BgImg = document.getElementById('BgImgHold').value;
|
||||
var BgImgSz = document.getElementById('BgImgSelSiz').value;
|
||||
var PgInRow = document.getElementById('PgInRow').value;
|
||||
MAX_PAGES_ROW = document.getElementById('PgInRow').value;
|
||||
speeddial.setBackgroundImage(BgImg);
|
||||
speeddial.setBackgroundImageSize(BgImgSz);
|
||||
speeddial.setPagesInRow(PgInRow);
|
||||
speeddial.setPagesInRow(MAX_PAGES_ROW);
|
||||
|
||||
document.getElementById('settingsBox').style.display = 'none';
|
||||
alignPage();
|
||||
}
|
||||
|
||||
function bgImgToggle() {
|
||||
|
@ -401,11 +404,10 @@ $("#quickdial").sortable({
|
|||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<input class="button" type="button" value="%APPLY%" onClick="saveSettings();document.getElementById('settingsBox').style.display = 'none';" />
|
||||
<input class="button" type="button" value="%APPLY%" onClick="saveSettings();" />
|
||||
</p>
|
||||
</div>
|
||||
<div class="thumbhold"><p id="thumb" ></p></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -55,7 +55,6 @@
|
|||
<file>icons/menu/search-icon.png</file>
|
||||
<file>icons/menu/gear.png</file>
|
||||
<file>icons/menu/wikipedia.png</file>
|
||||
<file>icons/menu/yahoo.png</file>
|
||||
<file>icons/browsers/firefox.png</file>
|
||||
<file>icons/browsers/chrome.png</file>
|
||||
<file>icons/browsers/opera.png</file>
|
||||
|
@ -69,5 +68,6 @@
|
|||
<file>icons/preferences/preferences-system-firewall.png</file>
|
||||
<file>icons/browsers/html.png</file>
|
||||
<file>icons/menu/translate.png</file>
|
||||
<file>icons/menu/duck.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
BIN
src/data/icons/menu/duck.png
Normal file
BIN
src/data/icons/menu/duck.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 577 B |
Binary file not shown.
Before Width: | Height: | Size: 450 B |
|
@ -267,7 +267,7 @@ QString QupZillaSchemeReply::speeddialPage()
|
|||
dPage.replace("%TXT_FHEIGHT%", tr("Fit Height"));
|
||||
dPage.replace("%TXT_NOTE%", tr("Use background image"));
|
||||
dPage.replace("%TXT_SELECTIMAGE%", tr("Select image"));
|
||||
dPage.replace("%TXT_NRROWS%", tr("Max dials in row:"));
|
||||
dPage.replace("%TXT_NRROWS%", tr("Max pages in row:"));
|
||||
}
|
||||
|
||||
QString page = dPage;
|
||||
|
|
|
@ -129,16 +129,16 @@ void SearchEnginesManager::restoreDefaults()
|
|||
yt.shortcut = "yt";
|
||||
yt.suggestionsUrl = "http://suggestqueries.google.com/complete/search?ds=yt&output=firefox&q=%s";
|
||||
|
||||
Engine yahoo;
|
||||
yahoo.name = "Yahoo!";
|
||||
yahoo.icon = QIcon(":/icons/menu/yahoo.png");
|
||||
yahoo.url = "http://search.yahoo.com/search?ei=utf-8&fr=sfp&iscqry=&p=%s";
|
||||
yahoo.shortcut = "yh";
|
||||
Engine duck;
|
||||
duck.name = "DuckDuckGo";
|
||||
duck.icon = QIcon(":/icons/menu/duck.png");
|
||||
duck.url = "https://duckduckgo.com/?q=%s";
|
||||
duck.shortcut = "d";
|
||||
|
||||
addEngine(google, false);
|
||||
addEngine(wiki, false);
|
||||
addEngine(yt, false);
|
||||
addEngine(yahoo, false);
|
||||
addEngine(duck, false);
|
||||
|
||||
emit enginesChanged();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user