GNOME Bugzilla – Bug 770903
Use IANA registered mime-type for comics
Last modified: 2016-09-12 17:28:56 UTC
It's application/vnd.comicbook+zip, application/x-cbz is an alias in the newest release of shared-mime-info.
Created attachment 335373 [details] [review] comics: Add application/vnd.comicbook+zip support application/vnd.comicbook+zip is the new mime-type for ".cbz" files. Other mime-types are still available as aliases of that type.
Created attachment 335374 [details] [review] comics: Fix mime-type comparisons The comics backend was using string equality to match mime-types. This doesn't work when the mime-type has changed, and the old name is now simply an alias. Use g_content_type_is_a() instead.
Comment on attachment 335374 [details] [review] comics: Fix mime-type comparisons Much better, thanks!
Attachment 335373 [details] pushed as 71b1323 - comics: Add application/vnd.comicbook+zip support Attachment 335374 [details] pushed as 364b340 - comics: Fix mime-type comparisons