summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/kdebase-3.5.13-fix_device_icon_placement.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdebase/kdebase-3.5.13-fix_device_icon_placement.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdebase/kdebase-3.5.13-fix_device_icon_placement.patch')
-rw-r--r--redhat/tdebase/kdebase-3.5.13-fix_device_icon_placement.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/redhat/tdebase/kdebase-3.5.13-fix_device_icon_placement.patch b/redhat/tdebase/kdebase-3.5.13-fix_device_icon_placement.patch
new file mode 100644
index 000000000..00bda21c2
--- /dev/null
+++ b/redhat/tdebase/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;
++ }
+ }
+ }
+