From kde-core-devel Sun Oct 22 16:55:38 2006 From: Albert Astals Cid Date: Sun, 22 Oct 2006 16:55:38 +0000 To: kde-core-devel Subject: Re: Virtual MimeTypes support patch Message-Id: <200610221855.38740.aacid () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=116153621718988 A Dissabte 21 Octubre 2006 21:05, Jos van den Oever va escriure: > The solution given here: > http://lists.freedesktop.org/archives/xdg/2005-November/007544.html > is not entirely clear to me. > If I understand correctly, each plugin may add support for additional > mimetypes, so the part of the .desktop file that talks about mimetype > support for an application should be dynamic. How will the proposed > XML format solve this? Ignore that :-D Basically each plugin installs a desktop file that says that extends that virtual mimetype adding some mimetypes. For more in depth explanation on how the .desktop has to look, see my patch, there is a nice description of that. Albert > Also I'm not sure 'virtual mimetypes' is a good > description of what you want. You probably mean 'virtual' as in > 'virtual function'. Outside of C++, this meaning may not be as clear > as it is for C++ programmers. I dont have a better suggestion by the > way, because 'dynamic' is even worse. > > Cheers, > Jos > > 2006/10/21, Albert Astals Cid : > > Hi, this patch adds virtual mimetypes support for KDE. > > > > Virtual mimetypes basically add the possibility of having plugins that > > add supported mimetypes to those the application supports. > > > > We need it for okular behaving properly, that is, not advertising it has > > pdf support when the pdf plugin was not compiled. > > > > See http://lists.kde.org/?l=kde-core-devel&m=116023261725717&w=2 for the > > whole explanation. > > > > Comments? > > > > Albert