Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > a6bc312ce50b5c8d0c51736e58ac32bc > files > 256

kdebase-3.4.2-55mdk.src.rpm

--- kdebase-3.2/kdesktop/init.cc--	2004-02-16 15:08:45.000000000 +0100
+++ kdebase-3.2/kdesktop/init.cc	2004-02-16 15:09:55.000000000 +0100
@@ -163,6 +163,10 @@ void testLocalInstallation()
     // Do not force copying that one (it would lose the icon positions)
     copyDirectoryFile("directory.desktop", desktopPath, false);
 
+    if (emptyDesktop)
+	copyDesktopLinks();
+
+
     QString trashPath = KGlobalSettings::trashPath();
     if (kdesktop_screen_number != 0) {
 	QString dn = "Desktop";
@@ -177,7 +181,5 @@ void testLocalInstallation()
     // we force the copying in case of a new release, to install new translations....
     copyDirectoryFile("directory.autostart", KGlobalSettings::autostartPath(), newRelease);
 
-    if (emptyDesktop)
-	copyDesktopLinks();
 }