Improve ui_get_mime_icon()
commit9767f79e50408911508577cb68906658872afe3b
authorJiří Techet <techet@gmail.com>
Mon, 29 Dec 2014 16:14:36 +0000 (29 17:14 +0100)
committerJiří Techet <techet@gmail.com>
Tue, 20 Jan 2015 18:33:06 +0000 (20 19:33 +0100)
tree5c3cc842dc61ece5bec8388a65943020db3c53e5
parent3c01fae8d95f51340e16247f51d0e654500d43f5
Improve ui_get_mime_icon()

It may happen that even though we get GIcon, the actual icon
dosen't exist (typically on Windows and OS X). Check if we
can find the actual icon.

In addition, use "icon name" instead of "stock id" - the latter
doesn't work on OS X / Windows for some reason.
src/ui_utils.c