From b854e365affbc01f61f6a3f58347847437883953 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 1 Nov 2018 23:43:47 +0900 Subject: Conversion startkde -> starttde, exitkde -> exittde in r14-xdg-upd file and related usage in code. This resolves bug 2282 and 2283. Signed-off-by: Michele Calgaro --- ksmserver/shutdown.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ksmserver') diff --git a/ksmserver/shutdown.cpp b/ksmserver/shutdown.cpp index 753703289..8b14ceaf1 100644 --- a/ksmserver/shutdown.cpp +++ b/ksmserver/shutdown.cpp @@ -812,7 +812,7 @@ void KSMServer::completeShutdownOrCheckpoint() waitForKNotify = false; } // event() can return -1 if KNotifyClient short-circuits and avoids KNotify - logoutSoundEvent = KNotifyClient::event( 0, "exitkde" ); // KDE says good bye + logoutSoundEvent = KNotifyClient::event( 0, "exittde" ); // TDE says good bye if( logoutSoundEvent <= 0 ) { waitForKNotify = false; } @@ -1013,8 +1013,8 @@ void KSMServer::notifySlot(TQString event ,TQString app,TQString,TQString,TQStri SHUTDOWN_MARKER("notifySlot state != WaitingForKNotify"); return; } - if( event != "exitkde" || app != "ksmserver" ) { - SHUTDOWN_MARKER("notifySlot event != \"exitkde\" || app != \"ksmserver\""); + if( event != "exittde" || app != "ksmserver" ) { + SHUTDOWN_MARKER("notifySlot event != \"exittde\" || app != \"ksmserver\""); return; } if( present & KNotifyClient::Sound ) { // logoutSoundFinished() will be called -- cgit v1.2.3