summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tdebase/taskbar.patch
diff options
context:
space:
mode:
authorRobert Xu <rxu@linux-zdwj.site>2012-02-01 00:31:59 -0500
committerRobert Xu <rxu@linux-zdwj.site>2012-02-01 00:31:59 -0500
commitf599f39717d771b8b7a2aff006cda6c31e8b12da (patch)
treef601e3c0303a193cda6f8c6f956619dda9673c70 /opensuse/core/tdebase/taskbar.patch
parentead369ac94473139a2320a1c90cda64dd887b94a (diff)
parent27c9e783c6283f8916ebee3a23c6d1ba909a5126 (diff)
downloadtde-packaging-f599f39717d771b8b7a2aff006cda6c31e8b12da.tar.gz
tde-packaging-f599f39717d771b8b7a2aff006cda6c31e8b12da.zip
Merge branch 'suse'
Diffstat (limited to 'opensuse/core/tdebase/taskbar.patch')
-rw-r--r--opensuse/core/tdebase/taskbar.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/opensuse/core/tdebase/taskbar.patch b/opensuse/core/tdebase/taskbar.patch
new file mode 100644
index 000000000..f8e526e6d
--- /dev/null
+++ b/opensuse/core/tdebase/taskbar.patch
@@ -0,0 +1,29 @@
+--- kicker/taskbar/taskcontainer.cpp.orig 2011-02-12 00:40:57.060389620 +0300
++++ kicker/taskbar/taskcontainer.cpp 2011-02-12 02:03:08.345389684 +0300
+@@ -576,9 +576,9 @@
+ // draw button background
+ if (drawButton)
+ {
+- style().drawPrimitive(QStyle::PE_HeaderSection, p,
+- QRect(0, 0, width(), height()),
+- colors);
++ style().drawPrimitive(QStyle::PE_HeaderSection, p,
++ QRect(1, 1, width()-2, height()-2),
++ colors, sunken ? QStyle::Style_Down : QStyle::Style_Raised);
+ }
+
+ // shift button label on sunken buttons
+@@ -674,11 +674,11 @@
+ }
+ else
+ {
+- textPen = p->pen();
++ textPen = QPen(colors.buttonText()); //textPen = p->pen();
+ }
+ }
+
+- int availableWidth = width() - (br.x() * 2) - textPos;
++ int availableWidth = width() - (br.x() * 2) - textPos - 4;
+ if (m_filteredTasks.count() > 1)
+ {
+ availableWidth -= 8;