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". Since 2.10

class RecentInfo
string
getShortName
()

Return Value

Type: string

A newly-allocated string in UTF-8 encoding; free it with g_free().

Meta