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

List:       kde-devel
Subject:    Re: Konqueror and service menus
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-07-26 13:48:17
[Download RAW message or body]

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

On Friday 26 July 2002 15:10, Pascal Francq wrote:
> On Friday 26 July 2002 13:03, Pascal Francq wrote:
> > On Friday 26 July 2002 10:46, David Faure wrote:
> > > On Wednesday 24 July 2002 10:41, Pascal Francq wrote:
> > > > Hi,
> > > > I have write a little ".desktop" file for 'text/html' documents. When I
> > > > open a local document (file:/......) in Konqueror, the menu entries
> > > > appear without any problem, but when I open a internet document
> > > > (http:/...) in Konqueror, the menu entries do not appear.
> > > > Any ideas?
> > >
> > > Use %U in the Exec line.
> >
> > It was used. I have attached the desktop to this mail, so perhaps you can
> > test it.
> 
> In fact when I open html file with an ftp protocol, no problems, the menu 
> entries appear. But when I open a html file through http 
> ("http://www.kde.org") the menu entries do not appear. So it seems that my 
> problem is link to the http protocol. By gthe way, I have KDE 3.0.2 
> installed.

A link over HTTP could point to anything, there's no way to find it's HTML
before actually opening it (or running a KIO::mimeType() job on it, which we
don't do when opening the popupmenu, it would be much too slow).
I guess what you want is a protocol-based selection of the service menus.
Feel free to add support for X-KDE-Protocol in the servicemenu code,
a bit like kpropertiesdialog already has.

- -- 
David FAURE, david@mandrakesoft.com, faure@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

iD8DBQE9QVMh72KcVAmwbhARAnPWAKCL7he6TVRmY0VPNgSauk3u0gvIbwCdH0HM
YPI/Q0Utrt6HHwaTf6U4iOU=
=Ahix
-----END PGP SIGNATURE-----

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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