From 59dd46ef985a719579132efa6a9aa49bfeeae112 Mon Sep 17 00:00:00 2001 From: Robert Xu Date: Sat, 31 Mar 2012 14:28:06 -0400 Subject: better late than never, hm... --- opensuse/core/tdelibs.old/mozilla-sliders.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 opensuse/core/tdelibs.old/mozilla-sliders.patch (limited to 'opensuse/core/tdelibs.old/mozilla-sliders.patch') 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; + -- cgit v1.2.1