Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xapp-icon-chooser-dialog.c: Fix mimetype test for browsed images.
When browsing for an image file, png files weren't being added to the icon view because of uncertainty from g_content_type_guess(). This function's mimetype lookup was returning both image/png and image/apng (animated png). Since g_content_type_guess only tests the file's path and not its contents, having two possible values resulted in the uncertainty. Lookup the content type in the file's GFileInfo instead. Fixes: #182
- Loading branch information