diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-02-12 16:09:17 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-02-12 16:09:17 +0100 |
commit | 40a4a3a90d6fdd8c0805d3491b8437c6b8e9d2f7 (patch) | |
tree | 188bd6107b64eb1b6f5ca8acbe1ce540335ec44e /src | |
parent | Add keyboard shortcut support for 'Show Next Tab' and 'Show Previous Tab' (diff) | |
download | rekonq-40a4a3a90d6fdd8c0805d3491b8437c6b8e9d2f7.tar.xz |
Add zoom text only webkit feature settings
Piedro, because of your comment about Midori, I tried applying this.
I don't think this fixes your problem, but it surely "hides" the
bug ;)
CCBUG: 295446
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 1 | ||||
-rw-r--r-- | src/rekonq.kcfg | 3 | ||||
-rw-r--r-- | src/settings/settings_webkit.ui | 7 |
3 files changed, 11 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp index 4b5d492c..f55174d0 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -537,6 +537,7 @@ void Application::updateConfiguration() // ================ WebKit ============================ defaultSettings->setAttribute(QWebSettings::DnsPrefetchEnabled, ReKonfig::dnsPrefetch()); defaultSettings->setAttribute(QWebSettings::PrintElementBackgrounds, ReKonfig::printElementBackgrounds()); + defaultSettings->setAttribute(QWebSettings::ZoomTextOnly, ReKonfig::zoomTextOnly()); defaultSettings->setAttribute(QWebSettings::JavascriptEnabled, ReKonfig::javascriptEnabled()); defaultSettings->setAttribute(QWebSettings::JavascriptCanOpenWindows, ReKonfig::javascriptCanOpenWindows()); diff --git a/src/rekonq.kcfg b/src/rekonq.kcfg index 3cb7989c..3e8e07ff 100644 --- a/src/rekonq.kcfg +++ b/src/rekonq.kcfg @@ -219,6 +219,9 @@ <entry name="printElementBackgrounds" type="Bool"> <default>true</default> </entry> + <entry name="zoomTextOnly" type="Bool"> + <default>false</default> + </entry> </group> diff --git a/src/settings/settings_webkit.ui b/src/settings/settings_webkit.ui index 62f3bafd..d797171b 100644 --- a/src/settings/settings_webkit.ui +++ b/src/settings/settings_webkit.ui @@ -72,6 +72,13 @@ </property> </widget> </item> + <item> + <widget class="QCheckBox" name="kcfg_zoomTextOnly"> + <property name="text"> + <string>Zoom Text only</string> + </property> + </widget> + </item> </layout> </widget> </item> |