RecentManager.moveItem

Changes the location of a recently used resource from uri to new_uri. Please note that this function will not affect the resource pointed by the URIs, but only the URI used in the recently used resources list. Since 2.10

class RecentManager
int
moveItem
(
string uri
,
string newUri
)

Parameters

uri string

the URI of a recently used resource

newUri string

the new URI of the recently used resource, or NULL to remove the item pointed by uri in the list. [allow-none]

Return Value

Type: int

TRUE on success.

Throws

GException on failure.

Meta