[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdecore
From: Alexander Neundorf <neundorf () kde ! org>
Date: 2009-01-04 12:32:21
Message-ID: 1231072341.979118.18774.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 905401 by neundorf:
Since there was no response to my mail on k-c-d \
(http://lists.kde.org/?l=kde-core-devel&m=123088427220820&w=2), add a hack to print \
also the documentation for the lib, include, tmp and socket directories. If somebody \
knows a better way to do this, please do so.
Alex
M +18 -0 kde-config.cpp
--- trunk/KDE/kdelibs/kdecore/kde-config.cpp #905400:905401
@@ -121,6 +121,24 @@
if (args->isSet("types"))
{
QStringList types = KGlobal::dirs()->allTypes();
+ // The list returned by allTypes() doesn't contain the lib, include,
+ // tmp and socket directories. I don't know if it should:
+ // http://lists.kde.org/?l=kde-core-devel&m=123088427220820&w=2
+ // But we have documentation for them, so insert these manually into this \
lists + // so the documentation printed is complete. Alex
+ if(!types.contains("lib")) {
+ types << "lib";
+ }
+ if(!types.contains("include")) {
+ types << "include";
+ }
+ if(!types.contains("tmp")) {
+ types << "tmp";
+ }
+ if(!types.contains("socket")) {
+ types << "socket";
+ }
+
types.sort();
const char *helptexts[] = {
"apps", I18N_NOOP("Applications menu (.desktop files)"),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic