| 1 |
diff -Nrua kdelibs-3.2.3/kdecore/kstandarddirs.cpp kdelibs-patched/kdecore/kstandarddirs.cpp |
diff -Nrua kdelibs-3.2.3/kdecore/kstandarddirs.cpp kdelibs-patched/kdecore/kstandarddirs.cpp |
| 2 |
--- kdelibs-3.2.3/kdecore/kstandarddirs.cpp 2004-06-12 14:29:06.000000000 -0500 |
--- kdelibs-3.2.3/kdecore/kstandarddirs.cpp 2004-07-22 02:59:13.000000000 -0500 |
| 3 |
+++ kdelibs-patched/kdecore/kstandarddirs.cpp 2004-06-12 14:29:53.000000000 -0500 |
+++ kdelibs-patched/kdecore/kstandarddirs.cpp 2004-07-22 02:59:41.000000000 -0500 |
| 4 |
@@ -727,6 +727,10 @@ |
@@ -748,6 +748,10 @@ |
| 5 |
if ((local || testdir.exists()) && !candidates->contains(path)) |
if ((local || testdir.exists()) && !candidates->contains(path)) |
| 6 |
candidates->append(path); |
candidates->append(path); |
| 7 |
} |
} |
| 8 |
+ // UGLY HACK - Chris Cheney |
+ // UGLY HACK - Chris Cheney |
| 9 |
+ if (local && ("config" == type)) |
+ if (local && (!strcmp("config", type))) |
| 10 |
+ candidates->append("/etc/kde3/"); |
+ candidates->append("/etc/kde3/"); |
| 11 |
+ // |
+ // |
| 12 |
local = false; |
local = false; |
| 13 |
} |
} |
| 14 |
} |
} |
| 15 |
@@ -902,7 +906,7 @@ |
@@ -923,7 +927,7 @@ |
| 16 |
if (!strcmp(type, "data")) |
if (!strcmp(type, "data")) |
| 17 |
return "share/apps/"; |
return "share/apps/"; |
| 18 |
if (!strcmp(type, "html")) |
if (!strcmp(type, "html")) |
| 21 |
if (!strcmp(type, "icon")) |
if (!strcmp(type, "icon")) |
| 22 |
return "share/icons/"; |
return "share/icons/"; |
| 23 |
if (!strcmp(type, "config")) |
if (!strcmp(type, "config")) |
| 24 |
@@ -922,7 +926,7 @@ |
@@ -943,7 +947,7 @@ |
| 25 |
if (!strcmp(type, "mime")) |
if (!strcmp(type, "mime")) |
| 26 |
return "share/mimelnk/"; |
return "share/mimelnk/"; |
| 27 |
if (!strcmp(type, "cgi")) |
if (!strcmp(type, "cgi")) |
| 30 |
if (!strcmp(type, "wallpaper")) |
if (!strcmp(type, "wallpaper")) |
| 31 |
return "share/wallpapers/"; |
return "share/wallpapers/"; |
| 32 |
if (!strcmp(type, "templates")) |
if (!strcmp(type, "templates")) |
| 33 |
@@ -1092,6 +1096,9 @@ |
@@ -1113,6 +1117,9 @@ |
| 34 |
kdedirList.append(kdedir); |
kdedirList.append(kdedir); |
| 35 |
} |
} |
| 36 |
} |
} |