disable right click pop-up menus?

David Faure dfaure at trolltech.com
Mon Feb 24 21:18:07 GMT 2003


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

On Monday 24 February 2003 18:45, dermotwhelan at e-cog.biz wrote:
> Hi there,
> 
> I am currently happily running redhat 7.3 but would very much like to disable the right mouse button functionality inorder to prevent the pop-up menu appearing in konqueror.
> 
> I have searched on the web for a solution but so far with no luck therefore your hep in this matter would be much appreciated.

There's a DCOP call for this in the View interface: enablePopupMenu(false)


(however I'm having some trouble accessing it with the "dcop" command line
tool, partly because of the naming conflict(*) that was noticed earlier on this list,
and is still not solved .... and also because I'm getting an unuseable DCOP ref?

$ dcop konqueror-14825 default getWindows
DCOPRef(konqueror-14825,0x82d8628)

$ dcop konqueror-14825 0x82d8628 currentView
DCOPRef(konqueror-14825,unnamed)

Huh - how do I use that one?


(*) KonqMainWindowIface and KMainWindowInterface use the same QObject name.
I'd like to find a way of either
1) replacing the dcop interface created by kmainwindow
later on (then KonqMainWindowIface could inherit KMainWindowInterface),
or
2) make dcop let me provide an "overriding" dcop object (the last one
created with a given name, is the one publically available), instead of the
first one (as I think is the case currently, hence the 0x82d8628 dcop object
above, since my local konq has this solution implemented).

Ideas, comments or help welcome ;)

- -- 
David FAURE, faure at kde.org, sponsored by TrollTech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
How to write a Makefile.am for KDE/Qt code:
http://developer.kde.org/documentation/other/makefile_am_howto.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+WowP72KcVAmwbhARAgMJAJ48ppfIPSSxPAfyebkSfitEpZAfHwCdGy2l
V83FvZjXfCTUEEx85V7ulHE=
=qLZ8
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list