disabling delete

David Faure david at mandrakesoft.com
Sat Jul 27 17:04:13 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 26 July 2002 21:35, paul lathrop wrote:
> Dear Friends,
> 
> How would i go about disabling delete in Konqueror file manager?

Comment out the del(), trash() and shred() slots in kdebase/konqueror/iconview/konq_iconview.h
and kdebase/konqueror/listview/konq_listview.h
(well unless you want to keep trash() ;)

> EX: when a user right clicks and Icon and selects disable this can be troublesome for us in our production environment because the user needs to call support then.

You mean 'delete' instead of 'disable', right?

> I can disable the 'right click' action in most of KDE but i am unable to in Konq - FIle manager

Hmm, I thought someone added a dcop call to disable RMB. Can't find it though.
Just add a "return;" in KonqMainWindow::slotPopupMenu() (like 3359 for me)

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice 1.2 RC1 is slightly delayed. Stay tuned.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9QsR+72KcVAmwbhARAjgtAJ0dglSvrRLC1vHOni6OSu1MbWWLDwCeNceI
8M5SMFu9qjWlC9BwR59DEjI=
=I8Xq
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list