Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > ca55d9a45f8a4e9bde633047c89ca24f > files > 17

kdebase4-workspace-4.1.2-13mdv2009.0.src.rpm

--- ksmserver/startup.cpp	2008-04-10 06:30:10.000000000 -0300
+++ ksmserver/startup.cpp.new	2008-10-03 08:02:45.000000000 -0300
@@ -328,7 +328,14 @@
     kcminit.runPhase2();
     if( !defaultSession())
         restoreLegacySession(KGlobal::config().data());
-    KNotification::event( "startkde" , QString() , QPixmap() , 0l , KNotification::DefaultEvent  ); // this is the time KDE is up, more or less
+	 KNotification *n = KNotification::event( "startkde" , QString() , QPixmap() , 0l ,  KNotification::DefaultEvent  ); // this is the time KDE is up, more or less
+	 connect(n, SIGNAL( closed() ) , this, SLOT(startupSoundFinished()) );
+
+}
+
+void KSMServer::startupSoundFinished()
+{
+    kDebug( 1218 ) << "Startup  event finished";
 }
 
 void KSMServer::runUserAutostart()
--- ksmserver/server.h	2008-04-10 06:30:10.000000000 -0300
+++ ksmserver/server.h.new	2008-10-03 08:02:28.000000000 -0300
@@ -133,6 +133,7 @@
     void startupSuspendTimeout();
     void wmProcessChange();
     void logoutSoundFinished();
+	 void startupSoundFinished();
     void autoStart0Done();
     void autoStart1Done();
     void autoStart2Done();