summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tdelibs.old/mozilla-sliders.patch
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2012-03-31 14:28:06 -0400
committerRobert Xu <robxu9@gmail.com>2012-03-31 14:28:06 -0400
commit59dd46ef985a719579132efa6a9aa49bfeeae112 (patch)
tree93d8c721ff263e67aaf59e364496862872ded8fb /opensuse/core/tdelibs.old/mozilla-sliders.patch
parentc141f0bc29b6e2eeda5ca08a043d26546a1427f9 (diff)
downloadtde-packaging-59dd46ef985a719579132efa6a9aa49bfeeae112.tar.gz
tde-packaging-59dd46ef985a719579132efa6a9aa49bfeeae112.zip
better late than never, hm...
Diffstat (limited to 'opensuse/core/tdelibs.old/mozilla-sliders.patch')
-rw-r--r--opensuse/core/tdelibs.old/mozilla-sliders.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/opensuse/core/tdelibs.old/mozilla-sliders.patch b/opensuse/core/tdelibs.old/mozilla-sliders.patch
new file mode 100644
index 000000000..004b0fd36
--- /dev/null
+++ b/opensuse/core/tdelibs.old/mozilla-sliders.patch
@@ -0,0 +1,19 @@
+Index: kdefx/kstyle.cpp
+===================================================================
+--- kdefx/kstyle.cpp.orig
++++ kdefx/kstyle.cpp
+@@ -2210,6 +2210,14 @@ void TransparencyHandler::XRenderBlendTo
+ void KStyle::virtual_hook( int, void* )
+ { /*BASE::virtual_hook( id, data );*/ }
+
++// HACK for gtk-qt-engine
++
++KDE_EXPORT extern "C"
++void kde_kstyle_set_scrollbar_type_windows( void* style )
++{
++ ((KStyle*)style)->setScrollBarType( KStyle::WindowsStyleScrollBar );
++}
++
+ // vim: set noet ts=4 sw=4:
+ // kate: indent-width 4; replace-tabs off; tab-width 4; space-indent off;
+