From kde-devel Fri Oct 01 15:02:40 2004 From: David Faure Date: Fri, 01 Oct 2004 15:02:40 +0000 To: kde-devel Subject: Re: Sources to edit to avoid showing popup menu in desktop icons Message-Id: <200410011702.43133.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=109664289317191 On Friday 01 October 2004 09:57, Carlos Pacheco wrote: > Hi ! > > I'm using kde 2.2.2 and I'm editing the sources. I want to eliminate the popup menu that shows when you click with the right mouse button over a desktop icon. I've looked at kdiconview.cc, kdesktop, kDesktopIface, but can't find where is the function that starts the popup. I forgot the 2.2.2 code by now, but also check kdebase/kdesktop/krootwm.cc In 3.x it's in kdiconview.cc, KDIconView::popupMenu, simply add a return; as the first line there. -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org). >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<