Re: Porting Softimage PIC loader to KDE4 / gwenview
Ruben Lopez <r.lopez-u/[email protected]> Mon, 20 Jul 2009 16:46:28 +0200
| Newsgroups | gmane.comp.kde.gwenview |
|---|---|
| Message-ID | <[email protected]> |
Aurélien Gâteau escribió: > Ruben Lopez wrote: > >> I only see problems with "nepomuk", but the same errors are shown when I >> go to a folder with png files, and they work just nice in all the views :( >> >> > > The Nepomuk errors can be ignored (I need to find a way to avoid those). > What's interesting is this part: > > gwenview(5570) Gwenview::LoadingDocumentImplPrivate::startLoading: > mimeType: "image/x-hdr" > gwenview(5570) Gwenview::LoadingDocumentImplPrivate::startLoading: kind: 4 > > 4 means that the MimeTypeUtils::mimeTypeKind() method recognized the > image as an archive... This happens when the .desktop file describing > the mimetype contains some special entries. Can you send this .destop file? > It seems that gwenview or KDE is using the wrong desktop file. The x-hdr.desktop file matches both .hdr and .pic extensions. I have installed an x-pic.desktop (attached) that matches *.pic, but the other one is being used instead. Can I write something in the .desktop file to help gwenview differentiate between HDR pic and Softimage pic? At this moment I can't remove the *.pic pattern from the x-hdr desktop file, but I will be able in a couple of days, when the systems administrator is back. This may be enough for us. Thanks >> Any idea? >> >> PS: Sorry for the duplication of the previous mail, I have discovered >> this morning that gwenview was moved to kdegraphics and I thought that I >> should send the emails to the kde-imaging list instead. >> > > No problem, I was quite slow to answer. > I was on holidays last week also, sorry. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Gwenview-general mailing list Gwenview-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/gwenview-general
x-pic.desktop
(text/plain, 126 B)
[Desktop Entry] Encoding=UTF-8 Type=MimeType MimeType=image/x-pic Icon=image Patterns=*.pic;*.PIC Comment=Softimage PIC Image