disabling delete

Waldo Bastian bastian at kde.org
Sat Jul 27 19:02:15 BST 2002


On Saturday 27 July 2002 09:04 am, David Faure wrote:
> -----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)

I will add some stuff so that you can disable this with the KIOSK framework 
for KDE 3.1

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com





More information about the kfm-devel mailing list