From kde-kiosk Mon Mar 31 19:02:03 2003 From: russell () lls ! lls ! com (Russell Brown) Date: Mon, 31 Mar 2003 19:02:03 +0000 To: kde-kiosk Subject: [Kde-kiosk] HOWTO? Disable "start another session" button in kdesktop_lock? X-MARC-Message: https://marc.info/?l=kde-kiosk&m=104913750223461 Any ideas how to disable the "Start New Session" button in kdesktop_lock? I've sort of looked through the source and there doesn't seem to be a config option to do this although the file lockdlg.cc appears to support the option of showing this button or not.... Around Line 70 of lockdlg.cc... if (nsess) { mButton = new QPushButton(i18n("\nStart\n&New\nSession\n"), winFrame, "butto n"); layout->addMultiCellWidget(mButton, 0,1, 3,3, AlignCenter); .... this seems to be called from lockprocess.cc like so... PasswordDlg passDlg(this, !mXdmFifoName.isNull()); .... mXdmFifoName appears to be set to null if the env var XDM_MANAGED contains the string rsvd. Huh????? Is this some magic one should know about? -- Regards, Russell -------------------------------------------------------------------- | Russell Brown | MAIL: russell@lls.com PHONE: 01780 471800 | | Lady Lodge Systems | WWW Work: http://www.lls.com | | Peterborough, England | WWW Play: http://www.ruffle.me.uk | -------------------------------------------------------------------- _______________________________________________ kde-kiosk mailing list kde-kiosk@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-kiosk