diff options
author | Robert Xu <robxu9@gmail.com> | 2012-03-31 14:28:06 -0400 |
---|---|---|
committer | Robert Xu <robxu9@gmail.com> | 2012-03-31 14:28:06 -0400 |
commit | 59dd46ef985a719579132efa6a9aa49bfeeae112 (patch) | |
tree | 93d8c721ff263e67aaf59e364496862872ded8fb /opensuse/core/tdelibs.old/light_v_2_scrollbar_patch.patch | |
parent | c141f0bc29b6e2eeda5ca08a043d26546a1427f9 (diff) | |
download | tde-packaging-59dd46ef985a719579132efa6a9aa49bfeeae112.tar.gz tde-packaging-59dd46ef985a719579132efa6a9aa49bfeeae112.zip |
better late than never, hm...
Diffstat (limited to 'opensuse/core/tdelibs.old/light_v_2_scrollbar_patch.patch')
-rw-r--r-- | opensuse/core/tdelibs.old/light_v_2_scrollbar_patch.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/opensuse/core/tdelibs.old/light_v_2_scrollbar_patch.patch b/opensuse/core/tdelibs.old/light_v_2_scrollbar_patch.patch new file mode 100644 index 000000000..e4ad1dd81 --- /dev/null +++ b/opensuse/core/tdelibs.old/light_v_2_scrollbar_patch.patch @@ -0,0 +1,34 @@ +diff -ur kdelibs-3.5.10.orig/kstyles/light/lightstyle-v2.cpp kdelibs-3.5.10/kstyles/light/lightstyle-v2.cpp +--- kdelibs-3.5.10.orig/kstyles/light/lightstyle-v2.cpp 2006-03-17 13:19:10.000000000 +0300 ++++ kdelibs-3.5.10/kstyles/light/lightstyle-v2.cpp 2011-05-07 23:30:18.000000000 +0400 +@@ -501,12 +501,14 @@ + p->drawLine(r.topLeft(), r.topRight()); + p->setPen(cg.background()); + p->drawLine(r.left(), r.top() + 1, r.right(), r.top() + 1); +- fr.addCoords(0, 2, 0, 0); ++ p->drawLine(r.left(), r.bottom(), r.right(), r.bottom()); ++ fr.addCoords(0, 2, 0, -1); + } else { + p->drawLine(r.topLeft(), r.bottomLeft()); + p->setPen(cg.background()); + p->drawLine(r.left() + 1, r.top(), r.left() + 1, r.bottom()); +- fr.addCoords(2, 0, 0, 0); ++ p->drawLine(r.right(), r.top(), r.right(), r.bottom()); ++ fr.addCoords(2, 0, -1, 0); + } + + p->fillRect(fr, cg.brush((flags & Style_Down) ? +@@ -523,11 +525,13 @@ + if (flags & Style_Horizontal) { + p->drawLine(r.topLeft(), r.topRight()); + p->setPen(cg.background()); ++ p->drawLine(r.left(), r.bottom(), r.right(), r.bottom()); + p->drawLine(r.left(), r.top() + 1, r.right(), r.top() + 1); + fr.addCoords(0, 2, 0, -1); + } else { + p->drawLine(r.topLeft(), r.bottomLeft()); + p->setPen(cg.background()); ++ p->drawLine(r.right(), r.top(), r.right(), r.bottom()); + p->drawLine(r.left() + 1, r.top(), r.left() + 1, r.bottom()); + fr.addCoords(2, 0, -1, 0); + } |