[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/ksmserver
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2004-12-14 15:03:39
Message-ID: 20041214150339.DDAB11BBC4 () office ! kde ! org
[Download RAW message or body]

CVS commit by lunakl: 

Trigger the "startkde" event after session is restored, not right
after ksmserver is started, so that the startup sound is played when
KDE is ready.
BUG: 82613


  M +1 -2      server.cpp   1.137


--- kdebase/ksmserver/server.cpp  #1.136:1.137
@@ -817,6 +817,4 @@ KSMServer::KSMServer( const QString& win
     connect( &restoreTimer, SIGNAL( timeout() ), this, SLOT( restoreNextInternal() ) );
     connect( kapp, SIGNAL( shutDown() ), this, SLOT( cleanUp() ) );
-
-    KNotifyClient::event( 0, "startkde" ); // this is the time KDE is up
 }
 
@@ -1599,4 +1597,5 @@ void KSMServer::restoreSessionDoneIntern
     upAndRunning( "session ready" );
     DCOPRef( "knotify" ).send( "sessionReady" ); // knotify startup optimization
+    KNotifyClient::event( 0, "startkde" ); // this is the time KDE is up
 
     // From now on handle X errors as normal shutdown.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic