Sophie

Sophie

distrib > Mandriva > 2007.1 > i586 > by-pkgid > 957da2639ff0ff03ed8e388494a58800 > files > 99

kdebase4-3.80.3-0.20070311.6mdv2007.1.src.rpm

--- kdebase-3.4.92/kicker/kicker/buttons/servicebutton.cpp~	2005-09-10 10:25:31.000000000 +0200
+++ kdebase-3.4.92/kicker/kicker/buttons/servicebutton.cpp	2005-10-27 10:19:54.000000000 +0200
@@ -67,7 +67,19 @@
 {
     QString id;
     if (config.hasKey("StorageId"))
+       {
        id = config.readPathEntry("StorageId");
+       QString idPath = config.readPathEntry("DesktopFile");
+       if(!idPath.isEmpty() && id.startsWith("kde-"))
+       {
+	       QString tmp = id.remove("kde-");
+	       idPath=idPath.remove(tmp);
+	       idPath=idPath.remove(" ");
+	       idPath=idPath.replace("/","-");
+	       idPath=idPath.prepend("Mandrakelinux-");
+	       id = idPath+tmp;
+       }
+       }
     else
        id = config.readPathEntry("DesktopFile");
     loadServiceFromId(id);