summaryrefslogtreecommitdiffstats
path: root/redhat/kdebase/kdebase-3.5.13-fix_device_icon_placement.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-04-01 18:56:22 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-04-01 18:56:22 +0200
commitc19de01aa59dc4055438537896d79ec4f457594d (patch)
tree8ff4449860a7cb988235968c7b73af0e44503a2d /redhat/kdebase/kdebase-3.5.13-fix_device_icon_placement.patch
parent8334f62eb4c103256204708eef6ea1077744ae67 (diff)
downloadtde-packaging-c19de01aa59dc4055438537896d79ec4f457594d.tar.gz
tde-packaging-c19de01aa59dc4055438537896d79ec4f457594d.zip
RHEL/Fedora: lots of kdebase/tdebase updates
Diffstat (limited to 'redhat/kdebase/kdebase-3.5.13-fix_device_icon_placement.patch')
-rw-r--r--redhat/kdebase/kdebase-3.5.13-fix_device_icon_placement.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/redhat/kdebase/kdebase-3.5.13-fix_device_icon_placement.patch b/redhat/kdebase/kdebase-3.5.13-fix_device_icon_placement.patch
new file mode 100644
index 000000000..00bda21c2
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-fix_device_icon_placement.patch
@@ -0,0 +1,30 @@
+commit 5df6c5fca20e917aaa82665131b931a0aa7c8628
+Author: Darrell Anderson <humanreadable@yahoo.com>
+Date: 1332447011 -0500
+
+ Restore code snippet removed with GIT hash
+ 27856879bf962f178d88e79144e37a47e731b122,
+ Sept. 3, 2010, "Massive import of OpenSUSE patches."
+ Restoring this snippet restores the device icon
+ placement and resolves bug report 392.
+
+diff --git a/kdesktop/kdiconview.cc b/kdesktop/kdiconview.cc
+index e2f1c80..3404e4a 100644
+--- a/kdesktop/kdiconview.cc
++++ b/kdesktop/kdiconview.cc
+@@ -1141,6 +1141,15 @@ void KDIconView::slotNewItems( const KFileItemList & entries )
+ kdDebug(1214)<<"Using saved position"<<endl;
+ }
+ }
++ else
++ {
++ // Not found, we'll need to save the new pos
++ kdDebug(1214)<<"slotNewItems(): New item without position information, try to find a sane location"<<endl;
++
++ moveToFreePosition(fileIVI);
++
++ m_bNeedSave = true;
++ }
+ }
+ }
+