diff options
Diffstat (limited to 'kshutdown/systemconfig.cpp')
-rw-r--r-- | kshutdown/systemconfig.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kshutdown/systemconfig.cpp b/kshutdown/systemconfig.cpp index dd83173..b5f59a4 100644 --- a/kshutdown/systemconfig.cpp +++ b/kshutdown/systemconfig.cpp @@ -93,8 +93,8 @@ SystemConfig::SystemConfig(TQWidget *parent) checkFile("/sbin/poweroff"); checkFile("/sbin/reboot"); checkFile("/sbin/shutdown"); - checkKDM(); - checkKDE(); + checkTDM(); + checkTDE(); if (_problems == 0) add(OK, i18n("No problems were found.")); @@ -139,12 +139,12 @@ void SystemConfig::checkFile(const TQString &file) } } -void SystemConfig::checkKDE() +void SystemConfig::checkTDE() { - TQCString KDE_FULL_SESSION = ::getenv("KDE_FULL_SESSION"); - if (KDE_FULL_SESSION != "true") + TQCString TDE_FULL_SESSION = ::getenv("TDE_FULL_SESSION"); + if (TDE_FULL_SESSION != "true") { - add(Warning, i18n("It seems that this is not a KDE full session.\nKShutDown was designed to work with KDE.\nHowever, you can customize Actions in the KShutDown settings dialog\n(Settings -> Configure KShutDown... -> Actions).")); + add(Warning, i18n("It seems that this is not a TDE full session.\nKShutDown was designed to work with TDE.\nHowever, you can customize Actions in the KShutDown settings dialog\n(Settings -> Configure KShutDown... -> Actions).")); } } @@ -153,16 +153,16 @@ From old FAQ: - Do it as root! - Make sure you first create backup of the "/etc/sysconfig/desktop" file - Remove all "GNOME" and "GDM" lines from "/etc/sysconfig/desktop" file -- Add new line: DISPLAYMANAGER="KDE" +- Add new line: DISPLAYMANAGER="TDE" - Reboot system and login again */ -void SystemConfig::checkKDM() +void SystemConfig::checkTDM() { if (!canShutDown()) { // TODO: 2.0: auto configuration add(Info, i18n("Tip: You can customize Actions to work with GDM.\n(Settings -> Configure KShutDown... -> Actions)")); - _tdmNotDetected = add(Warning, i18n("KDE Display Manager is not running,\nor the shut down/reboot function is disabled.\n\nClick here to configure TDM.")); + _tdmNotDetected = add(Warning, i18n("TDE Display Manager is not running,\nor the shut down/reboot function is disabled.\n\nClick here to configure TDM.")); } } |