summaryrefslogtreecommitdiffstats
path: root/tdesu
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-07 19:07:19 -0600
committerTimothy Pearson <[email protected]>2011-12-07 19:07:19 -0600
commit6723d581f9777be5206619112a30122439c0ee95 (patch)
treed835c452bc1081f1d58a7c209654e345ebf0fbe8 /tdesu
parentdeba8145ea74eac9c43b8aef4642357d72f7d0c0 (diff)
downloadtdebase-6723d581f9777be5206619112a30122439c0ee95.tar.gz
tdebase-6723d581f9777be5206619112a30122439c0ee95.zip
Rename KDEHOME and KDEDIR
Diffstat (limited to 'tdesu')
-rw-r--r--tdesu/tdesu/tdesu.cpp6
-rw-r--r--tdesu/tdesud/tdesud.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/tdesu/tdesu/tdesu.cpp b/tdesu/tdesu/tdesu.cpp
index 682661d54..a91c6936a 100644
--- a/tdesu/tdesu/tdesu.cpp
+++ b/tdesu/tdesu/tdesu.cpp
@@ -284,17 +284,17 @@ static int startApp()
if (pw->pw_uid)
{
- // Only propagate KDEHOME for non-root users,
+ // Only propagate TDEHOME for non-root users,
// root uses KDEROOTHOME
- // Translate the KDEHOME of this user to the new user.
+ // Translate the TDEHOME of this user to the new user.
TQString kdeHome = KGlobal::dirs()->relativeLocation("home", KGlobal::dirs()->localkdedir());
if (kdeHome[0] != '/')
kdeHome.prepend("~/");
else
kdeHome=TQString::null; // Use default
- env << ("KDEHOME="+ TQFile::encodeName(kdeHome));
+ env << ("TDEHOME="+ TQFile::encodeName(kdeHome));
}
KUser u;
diff --git a/tdesu/tdesud/tdesud.cpp b/tdesu/tdesud/tdesud.cpp
index 8f9942400..d2ae3bd36 100644
--- a/tdesu/tdesud/tdesud.cpp
+++ b/tdesu/tdesud/tdesud.cpp
@@ -6,7 +6,7 @@
*
* tdesud.cpp: KDE su daemon. Offers "keep password" functionality to kde su.
*
- * The socket $KDEHOME/socket-$(HOSTNAME)/tdesud_$(display) is used for communication with
+ * The socket $TDEHOME/socket-$(HOSTNAME)/tdesud_$(display) is used for communication with
* client programs.
*
* The protocol: Client initiates the connection. All commands and responses