[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-11-15 17:30:09
Message-ID: 20041115173009.9298016CAE () office ! kde ! org
[Download RAW message or body]

CVS commit by lunakl: 

Allow specifying other command than "xon" for remote execution (KDE3.4+).
Config file ksmserver, section [Global], key xonCommand=.
FEATURE: 65713


  M +2 -1      server.cpp   1.134
  M +1 -0      server.h   1.40


--- kdebase/ksmserver/server.cpp  #1.133:1.134
@@ -259,5 +259,5 @@ void KSMServer::startApplication( QStrin
     if ( !clientMachine.isEmpty() && clientMachine != "localhost" ) {
         command.prepend( clientMachine );
-        command.prepend( "xon" );
+        command.prepend( xonCommand ); // "xon" by default
     }
     int n = command.count();
@@ -733,4 +733,5 @@ KSMServer::KSMServer( const QString& win
     config->setGroup("General" );
     clientInteracting = 0;
+    xonCommand = config->readEntry( "xonCommand", "xon" );
 
     only_local = _only_local;

--- kdebase/ksmserver/server.h  #1.39:1.40
@@ -193,4 +193,5 @@ private:
     QTimer protectionTimer;
     QTimer restoreTimer;
+    QString xonCommand;
 
     // ksplash interface


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

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