summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/kdebase-3.5.13-konq_icon_effect.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdebase/kdebase-3.5.13-konq_icon_effect.patch')
-rw-r--r--redhat/tdebase/kdebase-3.5.13-konq_icon_effect.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/redhat/tdebase/kdebase-3.5.13-konq_icon_effect.patch b/redhat/tdebase/kdebase-3.5.13-konq_icon_effect.patch
new file mode 100644
index 000000000..3ac7144e2
--- /dev/null
+++ b/redhat/tdebase/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