summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/kdebase-3.5.13-fix_khtml_smooth_scrolling.patch
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2013-06-24 19:50:32 +0200
committerFrançois Andriot <[email protected]>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdebase/kdebase-3.5.13-fix_khtml_smooth_scrolling.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdebase/kdebase-3.5.13-fix_khtml_smooth_scrolling.patch')
-rw-r--r--redhat/tdebase/kdebase-3.5.13-fix_khtml_smooth_scrolling.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/redhat/tdebase/kdebase-3.5.13-fix_khtml_smooth_scrolling.patch b/redhat/tdebase/kdebase-3.5.13-fix_khtml_smooth_scrolling.patch
new file mode 100644
index 000000000..99256971b
--- /dev/null
+++ b/redhat/tdebase/kdebase-3.5.13-fix_khtml_smooth_scrolling.patch
@@ -0,0 +1,38 @@
+commit b45b4bd730da3196a4658773f7eef46e004a39d6
+Author: Timothy Pearson <[email protected]>
+Date: 1337063762 -0500
+
+ Fix KHTML smooth scrolling control center option
+ This closes Bug 1001
+ Thanks to Roman Savochenko for the patch!
+
+diff --git a/kcontrol/konqhtml/htmlopts.cpp b/kcontrol/konqhtml/htmlopts.cpp
+index 0b81421..9e199cb 100644
+--- a/kcontrol/konqhtml/htmlopts.cpp
++++ b/kcontrol/konqhtml/htmlopts.cpp
+@@ -299,7 +299,7 @@ void KMiscHTMLOptions::load( bool useDefaults )
+ KConfig kdeglobals("kdeglobals", true, false);
+ kdeglobals.setReadDefaults( useDefaults );
+ kdeglobals.setGroup("KDE");
+- bool smoothScrolling = kdeglobals.readBoolEntry("SmoothScroll", DEFAULT_SMOOTHSCROLL);
++ bool smoothScrolling = kdeglobals.readBoolEntry("SmoothScrolling", DEFAULT_SMOOTHSCROLL);
+ if (smoothScrolling)
+ m_pSmoothScrollingCombo->setCurrentItem( SmoothScrollingAlways );
+ else
+@@ -374,13 +374,13 @@ void KMiscHTMLOptions::save()
+ switch(m_pSmoothScrollingCombo->currentItem())
+ {
+ case SmoothScrollingAlways:
+- kdeglobals.writeEntry( "SmoothScroll", true );
++ kdeglobals.writeEntry( "SmoothScrolling", true );
+ break;
+ case SmoothScrollingNever:
+- kdeglobals.writeEntry( "SmoothScroll", false );
++ kdeglobals.writeEntry( "SmoothScrolling", false );
+ break;
+ // case SmoothScrollingWhenEfficient:
+- // kdeglobals.writeEntry( "SmoothScroll", somethingelse );
++ // kdeglobals.writeEntry( "SmoothScrolling", somethingelse );
+ // break;
+ }
+ kdeglobals.sync();