RecentInfo.getShortName

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”.

Return: A newly-allocated string in UTF-8 encoding free it with g_free()

class RecentInfo
string
getShortName
()

Meta

Since

2.10