Computes a valid UTF-8 string that can be used as the name of the item in a menu or list.
For example, calling this function on an item that refers to “file:///foo/bar.txt” will yield “bar.txt”.
this |
an RecentInfo |
A newly-allocated string in UTF-8 encoding free it with g_free |