[Kde-kiosk] HOWTO? Disable "start another session" button in kdesktop_lock?
Russell Brown
kde-kiosk@mail.kde.org
Mon, 31 Mar 2003 20:02:03 +0100 (BST)
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 |
--------------------------------------------------------------------