summaryrefslogtreecommitdiffstats
path: root/redhat/kdebase/kdebase-3.5.13-konq_icon_effect.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-01-02 23:32:28 +0100
committerFrancois Andriot <francois.andriot@free.fr>2012-01-02 23:32:28 +0100
commit865f39ca00d9be57738b8ce978cfdd9bf460392d (patch)
treeeb2bdedc687f51091e5e8a3068c3b47651bfdd4e /redhat/kdebase/kdebase-3.5.13-konq_icon_effect.patch
parent6d4bf0b7b6ab290b3812335012c03dd07a440893 (diff)
downloadtde-packaging-865f39ca00d9be57738b8ce978cfdd9bf460392d.tar.gz
tde-packaging-865f39ca00d9be57738b8ce978cfdd9bf460392d.zip
RHEL/Fedora: lots of patches for kdebase
Diffstat (limited to 'redhat/kdebase/kdebase-3.5.13-konq_icon_effect.patch')
-rw-r--r--redhat/kdebase/kdebase-3.5.13-konq_icon_effect.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/redhat/kdebase/kdebase-3.5.13-konq_icon_effect.patch b/redhat/kdebase/kdebase-3.5.13-konq_icon_effect.patch
new file mode 100644
index 000000000..3ac7144e2
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-konq_icon_effect.patch
@@ -0,0 +1,19 @@
+diff -urN /dev/shm/kdebase/konqueror/listview/konq_listviewwidget.cc /dev/shm/kdebase.new/konqueror/listview/konq_listviewwidget.cc
+--- /dev/shm/kdebase/konqueror/listview/konq_listviewwidget.cc 2011-08-11 00:25:51.000000000 -0500
++++ /dev/shm/kdebase.new/konqueror/listview/konq_listviewwidget.cc 2011-12-03 20:55:00.000000000 -0600
+@@ -1009,10 +1009,11 @@
+ // gather pixmap
+ TQPixmap *pix = new TQPixmap(*(_item->pixmap(0)));
+
+- // call the icon effect
+- KIconEffect::visualActivate(viewport(), rect, pix);
+-
+- delete(pix);
++ // call the icon effect if enabled
++ if (KGlobalSettings::showKonqIconActivationEffect() == true) {
++ KIconEffect::visualActivate(viewport(), rect, pix);
++ delete(pix);
++ }
+ }
+ }
+ else