Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 00483d81de16d6155bb71015324df6f6 > files > 4

kdebase4-workspace-4.6.5-1.3.mga1.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
@@ -387,7 +387,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
@@ -134,6 +134,7 @@
     void startupSuspendTimeout();
     void wmProcessChange();
     void logoutSoundFinished();
+    void startupSoundFinished();
     void autoStart0Done();
     void autoStart1Done();
     void autoStart2Done();