~ubuntu-branches/ubuntu/hardy/kdebase-workspace/hardy-backports

« back to all changes in this revision

Viewing changes to ksmserver/server.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Richard A. Johnson
  • Date: 2008-05-02 23:57:34 UTC
  • mfrom: (1.2.1 upstream) (20.1.22 hardy)
  • Revision ID: james.westby@ubuntu.com-20080502235734-kwrykz4qcvunwqf4
Tags: 4:4.0.4-0ubuntu1~hardy1
* New upstream release (LP: #225994)
* Updated control file (LP: #220655)
* Updated install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
            command.prepend( "--" );
108
108
            command.prepend( userId );
109
109
            command.prepend( "-u" );
110
 
            command.prepend( "kdesu" );
 
110
            command.prepend( KStandardDirs::findExe("kdesu") );
111
111
        }
112
112
    }
113
113
    if ( !clientMachine.isEmpty() && clientMachine != "localhost" ) {
884
884
        cg.writePathEntry( QString("discardCommand")+n, c->discardCommand() );
885
885
        cg.writeEntry( QString("restartStyleHint")+n, restartHint );
886
886
        cg.writeEntry( QString("userId")+n, c->userId() );
 
887
        cg.writeEntry( QString("wasWm")+n, isWM( c ));
887
888
    }
888
889
    cg.writeEntry( "count", count );
889
890
 
890
 
        KConfigGroup cg2( config, "General");
 
891
    KConfigGroup cg2( config, "General");
891
892
    cg2.writeEntry( "screenCount", ScreenCount(QX11Info::display()));
892
893
 
893
894
    storeLegacySession(config.data());