From d6bcc187d2f408e3e27598dd7f03821647e51c2e Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 25 Aug 2011 18:37:54 +0000 Subject: Fix taskbar when parent application is using ARGB windows Fix composition configuration default settings Add logout notice to give the user feedback that yes, the logout command actually WAS accepted git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1249522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksmserver/shutdown.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ksmserver/shutdown.cpp') diff --git a/ksmserver/shutdown.cpp b/ksmserver/shutdown.cpp index c97b05ffb..d298b2cf3 100644 --- a/ksmserver/shutdown.cpp +++ b/ksmserver/shutdown.cpp @@ -179,6 +179,14 @@ void KSMServer::shutdownInternal( KApplication::ShutdownConfirm confirm, // shall we save the session on logout? saveSession = ( config->readEntry( "loginMode", "restorePreviousLogout" ) == "restorePreviousLogout" ); + // shall we show a nice fancy logout screen? + bool showFancyLogout = KConfigGroup(KGlobal::config(), "Logout").readBoolEntry("showFancyLogout", true); + + if (showFancyLogout) { +// KSMShutdownIPFeedback::start(); // hide the UGLY logout process from the user + KSMShutdownIPDlg::showShutdownIP(); + } + if ( saveSession ) sessionGroup = TQString("Session: ") + SESSION_PREVIOUS_LOGOUT; -- cgit v1.2.1