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

List:       kde-kiosk
Subject:    [Kde-kiosk] HOWTO? Disable "start another session" button in kdesktop_lock?
From:       russell () lls ! lls ! com (Russell Brown)
Date:       2003-03-31 19:02:03
[Download RAW message or body]


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
[prev in list] [next in list] [prev in thread] [next in thread] 

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