khexedit2 shows up everywhere

Friedrich W. H. Kossebau Friedrich.W.H at kossebau.de
Sun Feb 27 22:53:59 GMT 2005


Hi,

Am Samstag, 26. Februar 2005 16:12, schrieb George Staikos:
> khexedit2 part has mimetype of all/allfiles.  This makes it show up in
> konqueror as a handler for files that don't have other parts.  For
> instance, sites that have flash embedded will show hex editors if the user
> doesn't have flash installed.  This also prevents the dialog which asks the
> user to download flash from showing.  How do we fix this but not break the
> khexedit part?

Perhaps by adding the option of an explicit flag when asking for a mimetype 
handler? Explicit as in "Give me only parts who explicitly say to handle the 
given mimetype; suppress those who handle only mimetypes which are in an 
IS-ALSO relation to the given one". In the same way one usually would not 
like to get the text part as fallback if there was no HTML part. Would this 
work for all other part query usages, too?

Implementation left to those who know about the part query system.
 
Regards
Friedrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050227/a2103b7e/attachment.sig>


More information about the kde-core-devel mailing list